tryabby / abby

Open-Source Feature Flags, Remote Config & A/B Tests for Developers ⛳🧪
https://www.tryabby.com
GNU Affero General Public License v3.0
143 stars 19 forks source link

Add new CLI Commands #80

Closed cstrnt closed 7 months ago

cstrnt commented 1 year ago

Problem:

This CLI isn't really potent right now and adding feature flags is still cumbersome. Some new commands to help with that would be nice.

Acceptance Criteria: The CLI has the following new commands

Add

Should prompt the user for a name for the config / flag. Checks the local abby.config.ts file if the name is already taken. If the value was config the user will get also prompted for the type of the config which is a select with the existing options.

When everything was successful, the flag / config should be added to the local config and then there should be an API call to the Abby Api which creates the Flag on the server.