Command-line scripts for managing your goals
Project description
Here are command-line scripts for managing your goals.
pip install -U invisibleroads-scripts invisibleroads edit Do Mark pending _ Mark cancelled + Mark done Exercise Do 10 pullups Do 20 pushups Do 30 jumps Sleep invisibleroads edit -A # Include archived goals invisibleroads edit your-keyword # Filter by keyword invisibleroads edit your-goal-id # Focus on specific goal # Mission Specify a goal # Log Record notes # Schedule 20181225 Schedule goals by date using YYYYMMDD # Tasks List remaining tasks using nested indent
Script Configuration
Here are optional steps to configure your scripts.
vim ~/.invisibleroads/configuration.ini [editor] command = vim timezone = US/Eastern [database] # dialect = postgresql # username = # password = # host = # port = # name = dialect = sqlite path = ~/.invisibleroads/goals.sqlite [archive] folder = ~/.invisibleroads business.terms = business goals business.folder = ~/Projects/business-missions personal.terms = personal goals personal.folder = ~/Projects/personal-missions pip install -U invisibleroads-scripts invisibleroads edit
Database Configuration
Here are the steps if you would like to configure a remote database.
ssh your-machine # Install packages sudo dnf install -y postgresql-server # Initialize database server sudo postgresql-setup --initdb --unit postgresql # Start database server sudo systemctl start postgresql # Add database user sudo -s -u postgres psql CREATE USER your-username WITH PASSWORD 'your-password'; CREATE DATABASE your-database OWNER your-username; # Configure database access sudo -s -u postgres psql \password postgres show hba_file; sudo vim /var/lib/pgsql/data/pg_hba.conf host your-database your-username your-ipv4 md5 host your-database your-username your-ipv6 md5 # host your-database your-username 0.0.0.0/0 md5 # host your-database your-username ::0/0 md5 sudo vim /var/lib/pgsql/data/postgresql.conf listen_addresses = 'your-ip' # listen_addresses = '*' sudo systemctl restart postgresql # Open database port sudo firewall-cmd --add-port=5432/tcp # Start database server on boot (optional) sudo systemctl enable postgresql sudo firewall-cmd --permanent --add-port=5432/tcp vim ~/.invisibleroads/configuration.ini [editor] command = vim timezone = US/Eastern [database] dialect = postgresql username = your-username password = your-password host = your-machine port = 5432 name = your-database [archive] folder = ~/.invisibleroads business.terms = business goals business.folder = ~/Projects/business-missions personal.terms = personal goals personal.folder = ~/Projects/personal-missions
2.0
Support remote database
1.0
Added functionality from invisibleroads-website
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for invisibleroads-scripts-2.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1278f19a69cf31fa37eaf1fe7017d6304d5a30fe84a2598624ad5e724c414a8 |
|
MD5 | 715e3c2502ee4ee2f8030cc5747ccaf6 |
|
BLAKE2b-256 | bba07841b48fb834d168153b5ad09ba9ccbb81a3b40c578ea5885f019fa1cb54 |
Close
Hashes for invisibleroads_scripts-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec2a21fe3069e8c74858b38238267d98b5c71e66ac4c3fbd8c9a4dba951c852 |
|
MD5 | f58a6dac0864c86f9da3825b15d0a407 |
|
BLAKE2b-256 | a2c940dc0da11a661b46ecb08ac8e99a090ec15d822788e315aa2644a7609b54 |