Concept to Clarifai-cli : 'configure' capability for profiles, PATs #289
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.
What
clarifai-cli
, to ease:§. configuration: config creation/maintenance w.r.t various "profiles" associated with the same userid but different Namespaces, for instance.
§. C|R|U|D|List APIs for various resources: e.g a command-line-utility to manage the lifecycle of entities like datasets, models, workflows, applications etc. owned/controlled by a user, subject to the profile ('default' or any other) in context.
§. This utility can come in handy, akin to how
aws configure|s3|ec2 etc.
as a CLI is - better interaction, automation and integration, and more power to the users.Why
§. what all actions/flows are to be supported. e.g
configure
§. what all functionalities within each action are to be supported. e.g '--help', '--profile'
§. how to vet and vouch for it, cross OSes/platforms, and general nuances of what/where to support
It was nevertheless thought to be a good-to-have capability and as an Idea to contribute to the OSS further,
I have:
clarifai-cli configure
, and whilst unit tests along with custom test scripts are necessary and shall/can be added, it supports creation of aconfig.json
(other formats like YAML are possible) inside:$HOME/.clarifai
folder.How
Tests
Notes
Supported aspects in this Prototype: