All Projects → renderedtext → cli

renderedtext / cli

Licence: other
Semaphore Classic Command Line Interface

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to cli

knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+573.33%)
Mutual labels:  semaphore-ci
ci playground
Playground for Cloud CI development for C++
Stars: ✭ 23 (+53.33%)
Mutual labels:  semaphore-ci
ci-skip
CI skip comment
Stars: ✭ 35 (+133.33%)
Mutual labels:  semaphore-ci
semaphore-docs-new
Documentation site for Semaphore.
Stars: ✭ 23 (+53.33%)
Mutual labels:  semaphore-open-source

Semaphore Classic CLI

Note: This is a CLI for Semaphore Classic. If you are looking for Semaphore 2.0 CLI, visit https://github.com/semaphoreci/cli.

Semaphore logo

Build Status Gem Version

The Semaphore Classic CLI is used to manage Semaphore projects from the command line.

For more info about Semaphore see https://semaphoreci.com

Usage

First, install the gem on your local machine:

$ gem install sem

Login to Semaphore:

$ sem login --auth-token <your-auth-token>

Display the help screen:

$ sem help

Usage: sem [command]

Command list, type sem help [command] for more details:

  version         Check cli version
  login           Log in to semaphore from the command line
  logout          Log out from semaphore

  orgs            Manage organizations
  teams           Manage teams and team membership
  shared-configs  Manage shared configurations
  projects        Manage projects

Issues

For problems directly related to the CLI, add an issue on GitHub.

For other issues, submit a support ticket.

Contributors.

Development

Developing the CLI locally requires Ruby >= 2.0. While developing please follow the CLI development guide.

To run the CLI locally, use the bundle exec sem.

Generating Docs

First, generate a JSON structure of the CLI, by running:

./bin/generate_json_structure

Use that structure to generate docs in the semaphore-docs-new repository.

Semaphore Resource Name (SRN)

SRN is a way of identifying Semaphore resources. This CLI uses SRNs as arguments for all actions.

Formats for individual resources are the following:

  • Organization: organization_name
  • Team: organization_name/team_name
  • Project: organization_name/project_name
  • Shared Configuration: organization_name/shared_configuration_name

Using custom API URL

Create a file at ~/.sem/api_url containing only the custom url.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].