-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring CLI auth #9
Comments
for toml we are gonna use https://github.com/toml-rs/toml |
For
|
when you first set up the then do:
when you want to add more project or workspace:
Note you have to mention Remove workspace
Note This will remove all the project within an workspace and the workspace itself Remove project
List
|
for log we are going to use https://crates.io/crates/log |
Description
There wont be any
ks login
as for now. Rather, we will be having aks configure
option. This will prompt the users to enter theapi_token
,private_key(optional)
andprofile_name
. Then, this will create an entry in~/.keyshade.toml
. It will be in this format:Any subsequent commands made through the CLI that will require authentication will use the
[default]
profile.Requirements
ks configure
command--profile
to specify the profile you want to use with any other commandks workspace default <profile_name>
commandks workspace list
command that will list out all the names of the profilesks workspace list --verbose/v
to list out the api token and private key aswellks workspace / project remove <profile_name>
to delete a profile. Note that you can not delete a default profile.The text was updated successfully, but these errors were encountered: