Pagico has a Command Line Interface (CLI) to save new items to your Inbox.
Command Syntax
On macOS:
/Applications/Pagico.app/Contents/Resources/Pagico/external/inbox.mac.sh {options}
On Windows:
"C:\Program Files\Pagico\CodeX\external\inbox.windows.cmd" {options}
On Ubuntu:
/opt/pagico/CodeX/external/inbox.linux.sh {options}
Command Parameters
Please note that all the values should be base64 encoded (unless the plaintext option is set).
General
Type: Type of the new item. Possible values are "Text", "Task" or "File". (required)
plaintext: To enable the use of plaintext parameter content, which doesn't support line breaks or other special character. (optional)
Note-specific parameters
Title: Title of the note (required)
Content: Body of the new note (required)
Task-specific parameters
Title: Title of the new task with NLP support (required)
Desc: Description of the new task (optional)
StartDate: A string representation of the start date (optional)
DueDate: A string representation of the due date (optional)
File-specific parameters
Path: The path to the file that will be imported (required)
Examples
To create a new task for tomorrow:
/Applications/Pagico.app/Contents/Resources/Pagico/external/inbox.mac.sh plaintext Type="Task" Title="Get grocery" DueDate="tomorrow"
To create a new task and take advantage of the NLP capability:
/Applications/Pagico.app/Contents/Resources/Pagico/external/inbox.mac.sh plaintext Type="Task" Title="Create UI mockups from Monday to Wednesday"
To create a new note without the plaintext option (parameter values are base64 encoded for better support of line breaks):
/Applications/Pagico.app/Contents/Resources/Pagico/external/inbox.mac.sh Type="VGV4dA==" Title="SGVsbG8sIHdvcmxkIQ==" Content="SGVyZSBpcyB0aGUgYm9keSBvZiB0aGUgbm90ZQ=="