-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0225559
commit 6382a6f
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"version":"0.1.2","commands":{"add-file":{"id":"add-file","description":"Append or prepend a file to a note identified by its title or id.\nThis call can't be performed if the app is a locked state.\nEncrypted notes can't be accessed with this call.\nReturns note's contents.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"edit":{"name":"edit","type":"boolean","char":"c","description":"place the cursor inside the note editor","allowNo":false},"filename":{"name":"filename","type":"option","char":"j","description":"override file name including extension"},"header":{"name":"header","type":"option","char":"u","description":"note title"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"id":{"name":"id","type":"option","char":"i","description":"note unique identifier"},"mode":{"name":"mode","type":"option","char":"m","description":"the allowed values are prepend, append, replace_all and replace (keep the note's title untouched)","options":["prepend","append","replace","replace_all"],"default":"append"},"new-window":{"name":"new-window","type":"boolean","char":"e","description":"open the note in an external window","allowNo":false},"open-note":{"name":"open-note","type":"boolean","char":"o","description":"display the new note in Bear's main or external window","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"title":{"name":"title","type":"option","char":"n","description":"note title"}},"args":[{"name":"file","description":"path to file you want to add"}]},"add-text":{"id":"add-text","description":"Append or prepend text to a note identified by its title or id.\nBeta encrypted notes can't be accessed with this call.\nReturns note's contents.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"edit":{"name":"edit","type":"boolean","char":"c","description":"place the cursor inside the note editor","allowNo":false},"exclude-trashed":{"name":"exclude-trashed","type":"boolean","char":"x","description":"exclude trashed notes","allowNo":false},"header":{"name":"header","type":"option","char":"u","description":"note title"},"id":{"name":"id","type":"option","char":"i","description":"note unique identifier"},"mode":{"name":"mode","type":"option","char":"m","description":"the allowed values are prepend, append, replace_all and replace (keep the note's title untouched)","options":["prepend","append","replace","replace_all"],"default":"append"},"new-line":{"name":"new-line","type":"boolean","char":"l","description":"if true and mode is append force the text to appear on a new line inside the note","allowNo":false},"new-window":{"name":"new-window","type":"boolean","char":"e","description":"open the note in an external window","allowNo":false},"open-note":{"name":"open-note","type":"boolean","char":"o","description":"display the new note in Bear's main or external window","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"tag for note"},"timestamp":{"name":"timestamp","type":"boolean","char":"d","description":"prepend the current date and time to the text","allowNo":false},"title":{"name":"title","type":"option","char":"n","description":"note title"}},"args":[{"name":"text","description":"note body"}]},"archive":{"id":"archive","description":"Move a note to bear archive and select the Archive sidebar item.\nThis call can't be performed if the app is a locked state.\nEncrypted notes can't be accessed with this call.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"search":{"name":"search","type":"option","char":"s","description":"string to search. search term is ignored if an id is provided."},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"id","description":"note unique identifier"}]},"auth":{"id":"auth","description":"Authenticates Bear CLI commands that require an app generated token to work.\nGo to Bear → Help → API Token → Copy Token and paste into this command.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"api-token","description":"application token","required":true}]},"change-font":{"id":"change-font","description":"Change the selected Bear Font.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"font","description":"font name"}]},"change-theme":{"id":"change-theme","description":"Change the selected Bear theme.\nSome themes may require a Bear Pro subscription.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"theme","description":"theme name"}]},"create":{"id":"create","description":"Create a new note. Empty notes are not allowed.\nReturns unique note identifier of new note.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"edit":{"name":"edit","type":"boolean","char":"c","description":"place the cursor inside the note editor","allowNo":false},"file":{"name":"file","type":"option","char":"a","description":"path to a file attachment"},"filename":{"name":"filename","type":"option","char":"j","description":"override file name including extension"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"new-window":{"name":"new-window","type":"boolean","char":"e","description":"open the note in an external window","allowNo":false},"open-note":{"name":"open-note","type":"boolean","char":"o","description":"display the new note in Bear's main or external window","allowNo":false},"pin":{"name":"pin","type":"boolean","char":"p","description":"pin the note to the top of the list","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"tag for note"},"timestamp":{"name":"timestamp","type":"boolean","char":"d","description":"prepend the current date and time to the text","allowNo":false},"title":{"name":"title","type":"option","char":"n","description":"note title"}},"args":[{"name":"text","description":"note body"}]},"delete-tag":{"id":"delete-tag","description":"Delete an existing tag.\nThis call can't be performed if the app is a locked state.\nIf the tag contains any locked note this call will not be performed.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"name","description":"tag name"}]},"grab-url":{"id":"grab-url","description":"Create a new note with the content of a web page.\nReturns unique note identifier of new note.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"pin":{"name":"pin","type":"boolean","char":"p","description":"pin the note to the top of the list","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"tag for note, if tags are specified in the Bear's web content prefences this parameter is ignored"},"wait":{"name":"wait","type":"boolean","char":"z","description":"if false, command returns immediately without waiting for note return value","allowNo":false}},"args":[{"name":"url","description":"url to grab"}]},"locked":{"id":"locked","description":"Select the Locked sidebar item.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"search","description":"string to search"}]},"open-note":{"id":"open-note","description":"Fetch a note identified by its title or id.\nReturns the matched note's contents.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"title":{"name":"title","type":"option","char":"n","description":"note title"},"header":{"name":"header","type":"option","char":"u","description":"note title"},"exclude-trashed":{"name":"exclude-trashed","type":"boolean","char":"x","description":"exclude trashed notes","allowNo":false},"new-window":{"name":"new-window","type":"boolean","char":"e","description":"open the note in an external window","allowNo":false},"float":{"name":"float","type":"boolean","char":"f","description":"makes the external window float on top","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"open-note":{"name":"open-note","type":"boolean","char":"o","description":"display the new note in Bear's main or external window","allowNo":false},"selected":{"name":"selected","type":"boolean","char":"k","description":"return the note currently selected in Bear","allowNo":false},"pin":{"name":"pin","type":"boolean","char":"p","description":"pin the note to the top of the list","allowNo":false},"edit":{"name":"edit","type":"boolean","char":"c","description":"place the cursor inside the note editor","allowNo":false},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"id","description":"note unique identifier"}]},"open-tag":{"id":"open-tag","description":"Fetch all the notes which have a selected tag in bear.\nReturns list of unique note identifiers and note titles.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"name","description":"tag name"}]},"rename-tag":{"id":"rename-tag","description":"Rename an existing tag.\nThis call can't be performed if the app is a locked state.\nIf the tag contains any locked note this call will not be performed.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false}},"args":[{"name":"name","description":"tag name","required":true},{"name":"new-name","description":"new tag name"}]},"search":{"id":"search","description":"Fetch search results from Bear for all notes or for a specific tag.\nReturns list of unique note identifiers and note titles.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"tag":{"name":"tag","type":"option","char":"t","description":"tag to search into"},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"term","description":"string to search"}]},"tags":{"id":"tags","description":"Fetch all the tags currently displayed in Bear's sidebar.\nReturns list of tag names.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","required":true,"default":"493C02-3A08BB-D7BA51"}},"args":[]},"today":{"id":"today","description":"Fetch all notes in the Today sidebar item.\nReturns list of unique note identifiers and note titles.\nNOTE: this feature doesn't currently work as expected.\nBUG: There's an issue with bear that causes notes that match search not in Today to be returned.\nBUG: There's an issue where fetching Today's notes causes bear to hold process open.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"search","description":"string to search"}]},"todo":{"id":"todo","description":"Fetch all notes in the Todo sidebar item.\nReturns list of unique note identifiers and note titles.\nBUG: There's an issue with bear that causes notes that match search with no Todo's to be returned.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"tokne":{"name":"tokne","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"search","description":"string to search"}]},"trash":{"id":"trash","description":"Move a note to bear trash and select the Trash sidebar item.\nThis call can't be performed if the app is a locked state.\nEncrypted notes can't be used with this call.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"search":{"name":"search","type":"option","char":"s","description":"string to search. search term is ignored if an id is provided."}},"args":[{"name":"id","description":"note unique identifier"}]},"untagged":{"id":"untagged","description":"Fetch all notes in the Untagged sidebar item.\nReturns list of unique note identifiers and note titles.","pluginName":"@sloansparger/bear","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"show-window":{"name":"show-window","type":"boolean","char":"w","description":"force the opening of bear main window","allowNo":false},"token":{"name":"token","type":"option","char":"y","description":"bear api token. defaults to api key provided to auth command.","default":"493C02-3A08BB-D7BA51"}},"args":[{"name":"search","description":"string to search"}]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters