Comments (17)
- Update the CLI docs link for
help
commands:
DESCRIPTION
...
For more information on configuration options, see:
https://github.com/UffizziCloud/uffizzi_cli
- Replace this error:
~ # uffizzi config list
No such file or directory @ rb_sysopen - /root/.config/uffizzi/config_default.json`
with:
~ # uffizzi config list
Configuration file not found: /root/.config/uffizzi/config_default.json
To configure the uffizzi CLI interactively, run $ uffizzi config
-
Rename
config_default.json
toconfig_default
(Note: the format is not JSON, so donβt give it a .json extension) -
When interactively setting up their
config_default
via$ uffizzi config
command, the user can enter a project name that does not exist, for example "My Project". But when they then run$ uffizzi login
, we currently do not warn the user that "My Project" does not exist. We should handle this with a warning:
Project "My Test Project" does not exist. Select one of the following projects or create a new project:
> default
Foo
Bar
Baz
Create a new project
The user should be able to use the arrow keys + Enter
to select the default project. If the user choose to Create a new project
, ask for the project name interactively:
Project "My Test Project" does not exist. Select one of the following projects or create a new project:
default
Foo
Bar
Baz
> Create a new project: Lorem Ipsum
- If user does not enter a project name (either in
config_default
or when configuring the CLI interactively), use βdefaultβ as default project context:
Configure the default properties that will be used to authenticate with your
Uffizzi API service and manage previews.
Server: (app.uffizzi.com) https://tmp-eks-2022-04.uffizzi.com/
Username: [email protected]
Project:
-
After logging out with
$ uffizzi logout
theconfig_default.json
file is deleted. This file should persist. -
It would be nice to have some basic utilities in the
uffizzi/cli
container image, such asvim
, etc. We should build theuffizzi/cli
container image fromubuntu
or similar instead ofalpine
. @axisofentropy may have an opinion on this.
from uffizzi_cli.
Related backend updates - UffizziCloud/uffizzi#102
from uffizzi_cli.
@NealArw Added automatic slug generation and prompting as as default option
from uffizzi_cli.
π Point 1 from #75 (comment). FAILED
The link should be updated for all help commands
from uffizzi_cli.
π Point 2 from #75 (comment). FAILED
If there is no config_default file and user was not log in, every command returns an error:
from uffizzi_cli.
π Point 4 from #75 (comment). FAILED
1.
- Create a config file with a project that does not exist
- Login
- In interactively mode select
Create new project
- Enter the name that already exists
- Continue
Result:
- Error
Name already exists
- User successfully logged in
Expected:
- Error
Project with name NAME already exists. Please run $ uffizzi config to set it as a default project
.
from uffizzi_cli.
π Point 6 from #75 (comment). FAILED
Config file was not deleted after command uffizzi logout
. But commands uffizzi login
and uffizzi config...(list, etc)
do not use existed config file.
from uffizzi_cli.
Point 3 and 5 from #75 (comment) - OK
from uffizzi_cli.
All points fixed
from uffizzi_cli.
π Point 1 from #75 (comment). FAILED
Also needs to update link in help for all commands.
from uffizzi_cli.
Was not fixed #75 (comment)
from uffizzi_cli.
π Also needs to update help for the next commands:
- uffizzi project delete
- uffizzi project describe
- uffizzi project set-default
Replace https://docs.uffizzi.com/cli
by https://github.com/UffizziCloud/uffizzi_cli
from uffizzi_cli.
Point 2 TESTED - OK
#75 (comment)
bash-5.1# bundle exec uffizzi login
Login to Uffizzi to view and manage your previews.
Server: http://web:7000
Username: [email protected]
bash-5.1# bundle exec uffizzi project list
default
from uffizzi_cli.
Point 4 TESTED - OK
#75 (comment)
bash-5.1# bundle exec uffizzi login
Login to Uffizzi to view and manage your previews.
Project 'blabla' does not exist. Select one of the following projects or create a new project: Create a new project
Project name: default
Project slug: default
Project desciption:
Project with name default already exists. Please run $ uffizzi config to set it as a default project
from uffizzi_cli.
Point 6 TESTED - OK
#75 (comment)
from uffizzi_cli.
Point 1 TESTED - OK
#75 (comment)
from uffizzi_cli.
verified in production
from uffizzi_cli.
Related Issues (20)
- Update `update-kubeconfig` help page
- Add `install` as a subcommand option for `uffizzi -h` help page
- `uffizzi cluster update-kubeconfig` should wake up a sleeping cluster
- Artifacts not uploaded
- Fix creation config file from json
- Restore docker image update
- Various CLI updates HOT 2
- Upgrade GitLab CI pipeline with latest CLI version
- Fix misleading `uffizzi install` message related to namespaces
- Help pages for `install` and `uninstall`
- Add Skaffold trigger options: `uffizzi dev start --trigger polling` add `--trigger manual`
- Add better user feedback during Uffizzi installation
- No shorthand `-n` for `--namespace` flag HOT 2
- installation picks up older version of the controller chart even if a new version has been released HOT 2
- Clean up CLI status and output messages HOT 1
- `uffizzi install`: Increase IP check tries
- Use `default` if `uffizzi uninstall` namespace is not specified
- Cluster Deletion: Pass OIDC token for a new policy HOT 1
- During installation, CLI returns 'unknown' if controller endpoint is a hostname
- Minitar v1 has been released
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uffizzi_cli.