Skip to main content

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

Download files

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

Files for invisibleroads-scripts, version 2.0.6
Filename, size File type Python version Upload date Hashes
Filename, size invisibleroads_scripts-2.0.6-py3-none-any.whl (12.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size invisibleroads-scripts-2.0.6.tar.gz (8.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page