Open
Conversation
…ures"" This reverts commit 7edafb4.
* 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.