-
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
project command: create cloud profile #17
Conversation
Umm you're gonna have to do some rebasing against the main branch |
b225670
to
b78f062
Compare
* enable create command * prompt workspace and query cloud profile in create command * calls backend graphql api to createProject * fix minor bugs of wrong api call, add some msg after api call * add a validation for project name * move cli msg to command callback instead of during api calling, minor bug fix * push everything * add is_authenticated decorator and refactor to use graphql fragments * bump package version to 0.1.2 * refractor auth checking, minor bug fix Co-authored-by: Sean Chok <seanchok@gmail.com>
* Project Browse Command Adding project browse command to cli and get_workspace function to api * Changes Improved the browse and get project function * final refactor and test * bump package version to 0.1.3 Co-authored-by: Sean Chok <seanchok@gmail.com>
b78f062
to
bdb6ee9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project create command shouldn't involve any cloud profile creation, the user should just choose an existing cloud profile. If they don't have any cloud profiles to begin with, the project create command should just raise an abort.
They should also manage cloud profiles through a new group of commands called cloud-profile
, and create a new cloud profile with cloud-profile create
, see #20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. Just some very minor issues.
…ir (#21) * minor refractor on global config * traverse up recursively and read config file if in child dir of client's project dir * refractor local config file manager * minor typo * WIP * change flow of project create command, minor refractor in local config * change flow of cli, if project not found, set local config to none instead * bug fix when user initializes a project * change flow of command, create project locally b4 doing it in the backend * refractor for commands using local config * added a decorator to check if deploifai project found * change flow of commmand again, bug fix for duplicate local file names * change command flow, no more loops if invalid name * minor bug fix * project command: create cloud profile (#17) * support gcp for the feature, added some enums, minor bug fix * Project create command (#16) * enable create command * prompt workspace and query cloud profile in create command * calls backend graphql api to createProject * fix minor bugs of wrong api call, add some msg after api call * add a validation for project name * move cli msg to command callback instead of during api calling, minor bug fix * push everything * add is_authenticated decorator and refactor to use graphql fragments * bump package version to 0.1.2 * refractor auth checking, minor bug fix Co-authored-by: Sean Chok <seanchok@gmail.com> * gcp cloud profile creation, refractor auth checking * parse gcp key json file as string * rm unnecessary imports * Project Browse Command (#19) * Project Browse Command Adding project browse command to cli and get_workspace function to api * Changes Improved the browse and get project function * final refactor and test * bump package version to 0.1.3 Co-authored-by: Sean Chok <seanchok@gmail.com> * refractor cloud profile creation * change app structure for cloud profile creation * minor bug fix on passing variables for querying graphql * minor bug fix * minor issue Co-authored-by: Sean Chok <seanchok@gmail.com> Co-authored-by: ExtinctWolf83 <89630581+ExtinctWolf83@users.noreply.github.com> * minor refractor on global config * traverse up recursively and read config file if in child dir of client's project dir * refractor local config file manager * minor typo * WIP * change flow of project create command, minor refractor in local config * change flow of cli, if project not found, set local config to none instead * bug fix when user initializes a project * change flow of command, create project locally b4 doing it in the backend * refractor for commands using local config * added a decorator to check if deploifai project found * change flow of commmand again, bug fix for duplicate local file names * change command flow, no more loops if invalid name * minor bug fix Co-authored-by: Sean Chok <seanchok@gmail.com> Co-authored-by: ExtinctWolf83 <89630581+ExtinctWolf83@users.noreply.github.com>
No description provided.