arduosoft / RawCMS

RawCMS is the headless CMS written in asp.net core build for developers that embraces API first technology. Please give us a feedback!
https://forms.gle/wvu1HF9P52ZdXujv6
GNU General Public License v3.0
173 stars 72 forks source link

Cli interface #14

Open zeppaman opened 6 years ago

zeppaman commented 6 years ago

User story

Create a Cli application (.exe), based on .net core that manage:

task

microframework can be used to manage arguments [this is a valid example] (https://github.com/commandlineparser/commandline)

Commands:

raw-cli

Examples

raw-cli list users raw-cli list users -id 24 raw-cli save users -f user.json raw-cli remove users -id 34 raw-cli sync --project-folder C:\test\ --delete --dry-run

note list and remove take id arguments as imput. in this case all arguments are applied by name\value and all parameters compose document sample to use for query data.

All interaction will be using CRUD service into application.

login

After task for autentication, login\logout commands will be added to command list. Basically login will take the authorization token while logout will clear\revoke it.

acceptance criteria

zeppaman commented 6 years ago

Some update after login implementation:

Some updates on configuration implementation: configuration is treated as a regular system collection (no validation provided atm)

zeppaman commented 5 years ago

@girardengo after your last pull request, this task progress are updated?