scout
scout copied to clipboard
New action: "create"
I need to implement the feature "create" to be able to create notes from the CLI
spec points :
- ~~needs to take the input from stdin so that it is possible to pipe some text to tomtom~~ bah
- ~~first positional argument must be the note name and it must be mandatory~~
- ~~needs to verify if a note with the same name already exists before doing anything~~ already implemented by the "edit" action
- ~~would be cool to be able to use the user's favourite text editor to manually type in a new note (like git does for its commits)~~ already implemented since creation happens through the "edit" action
- would be awsomely cool to be able to fetch a template (with the "system:template" tag) to have this text already in the editor.
- maybe : possiblity to fetch any note as a template so that copying a note is simple
- ~~possibility to add tags on creation~~ not important