You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Yudin (Jira)" <ji...@apache.org> on 2022/08/04 19:35:00 UTC
[jira] [Created] (IGNITE-17469) cli profile commands unification
Yury Yudin created IGNITE-17469:
-----------------------------------
Summary: cli profile commands unification
Key: IGNITE-17469
URL: https://issues.apache.org/jira/browse/IGNITE-17469
Project: Ignite
Issue Type: Improvement
Components: cli, ignite-3
Reporter: Yury Yudin
cli config profile now has two commands show and create, while setting a profile is done through a parameter, which is confusing.
There should be a separate command to set the profile.
In general I would suggest the commands there to look like:
cli config show
cli config set
cli config get
All cli commands should not accept --profile or -p parameters, all setting and getting of the params in a profile should go through its activation instead. I.e. cli config profile create newprofile ; cli config profile activate newprofile; cli config set ignite.cluster-url=[http://localhost:10300|http://localhost:10300/]
Profile manipulation should go like below:
cli config profile show [<name>]
cli config profile list
cli config profile create <name> --copy-from
cli config profile activate <name>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)