Skip to main content

A simple line-command tool for managing Notion List Databases.

Project description

⚠️ This project is still in work in progress. Commands could change in the future.

Notion CLI List Manager 🗂

Increase your productivity with a simple command. 🛋

A simple command-line tool for managing Notion List databases. ✨ You can copy my free simple template.

📺 Features:

  • fast and simple, saving your idea is as simple as digit add "get money" 💆‍♂️
  • tables are pretty printed with fab ascii tables 🌈
  • parameters are going to be supported 🎻

🧰 Syntax:

Commands: Args and options:
list to display all the List not done yet. --db [id] to display a specific database.
--all to display all the lists.
list add [title] to add a new List called title. [title] will be the text of the List (and the title of the associated Notion database page)
--db [id] to add the entry to a specific database. Otherwise, the default database will be used.
list rm [index] to remove the List with the index index.
(Command to call after list all)
[index] has to be formatted either like a range and a list, or a combination of these. E.g.: 3,4,6:10:2 will remove pages 3, 4, 6, 8.
list db to display all the notion display saved in the manager. --label [LABEL] --id [ID] to add a database to the manager.
--rm [LABEL] to remove a database named [LABEL] from the manager. Note that adding or removing a database to the manager does not cause the actual creation or deletion on Notion.
list set --token [token] --id [database_id] to set the token and the ID of the Notion Database you want as default. This must be executed as the first command. You can get the [token] as internal api integration here.
You can get the database id from the database url: notion.so/[username]/[database_id]?v=[view_id].

🔬 Usage:

Since it is a beta version, the package it's not available on pypi.org yet. Thus, you have to install it manually. Having installed Python3 and Pip3 on your machine, write on the terminal:

    git clone https://github.com/jacksalici/notion-cli-list-manager.git notion-cli-list-manager

    pip3 install notion-cli-list-manager/dist/notion-cli-list-manager-0.1.*.tar.gz

Then set the token and the database id:

    list set --token [token] --id [database-id]

📌 Note that you must share the database with your integration!
And finally, you can use the commands above.

🛒 Still to do:

See the project tab for a complete and real-time-updated list.

💌 Collaboration:

Issues and PRs are really appreciated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notion-cli-list-manager-0.1.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

notion_cli_list_manager-0.1.2-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page