Skip to content

Cli features#34

Open
sept-en wants to merge 24 commits intomasterfrom
cli_features
Open

Cli features#34
sept-en wants to merge 24 commits intomasterfrom
cli_features

Conversation

@sept-en
Copy link
Collaborator

@sept-en sept-en commented May 9, 2018

Hi!

Recently @AndrewAhapov and I implemented more features for the new CLI API.
We've also fixed a bunch of issues from the previous versions of this API.

@ib-steffen could you check it, please?

Best regards,
Kirill Abramov.

sept-en added 24 commits April 25, 2018 17:13
* Check if remote URL is specified;
* Check cli arguments in login method;
* Display an error if user entered invalid credentials during login;
* Login functionality doesn't require `INFRABOX_CLI_TOKEN` env var
  anymore.
* Added `secrets list` command to list all project' secrets;
* Fixed secrets deleting functionality;
* Added possibility to delete secret by id.
* All project requests send `ca_bundle` and `timeout` in arguments;
* Changed project-token on-creation message.
* Renamed `project-token` command to `tokens`;
* `collaborators`, `secrets`, `tokens` commands became
  a sub-commands of `project` command so:
    - `infrabox collaborators` -> `infrabox project collaborators`;
    - `infrabox secrets` -> `infrabox project secrets`;
    - `infrabox project-token` -> `infrabox project tokens`.
* Added `project list` command to list all projects which belong
  to the current user.
* Added argument `proj-name` to the `project` to specify
  project name for the subsequent command (`collaborators`,
  `secrets`, `tokens`);
* Refactoring.
* Renamed argument `proj_name` to `project_name`;
* Some bugs fixes.
* Added possibility to login to specified remote url
  by providing it after login command, e.g:
  `$ infrabox login http://localhost:8080`
* All config data now is stored in `~/.infrabox/config.json` file:
    - list of remotes;
    - each remote contains current user token and current project;
    - current remote.
* Minor improvements;
* Refactoring.
* Added method to get all available remotes (stored in infrabox config
  file). To perform this command:
    `$ infrabox remotes list`.
* It's possible to add and store current project for the cli workflow:
    `$ infrabox config set-current-project PROJECT_NAME`;
* Config functionality: minor improvements and refactoring;
* Minor bugs fixes.
* When we `set-current-project` it's checked whether valid
  project name is provided;
* Refactoring.
* You can call this module by `infrabox project status`;
* Improved projects module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants