feat: Introduce executable build for Onyx CLI, add its source, and implement new tests.
This commit is contained in:
1 parent
e498031f10
commit
af43694c98
33 files changed
+862
-22978
No files matched your search
@@ -674,6 +674,8 @@ def create(note_name, content, vault, overwrite, append, open_after):
|
||||
onyx create "my-note"
|
||||
onyx create "my-note" --content "Some content" --open
|
||||
"""
|
||||
if content:
|
||||
content = content.replace('\\n', '\n')
|
||||
OnyxCLI().create_note(note_name, content, vault, overwrite, append, open_after)
|
||||
|
||||
@cli.command()
|
||||
|
||||
Reference in new issue
Block a user