https://github.com/maxpleaner/job_tracker_cli
ruby cli for tracking job applications
https://github.com/maxpleaner/job_tracker_cli
Last synced: about 1 year ago
JSON representation
ruby cli for tracking job applications
- Host: GitHub
- URL: https://github.com/maxpleaner/job_tracker_cli
- Owner: MaxPleaner
- Created: 2015-09-19T22:40:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-13T09:52:03.000Z (about 10 years ago)
- Last Synced: 2025-01-29T12:15:11.992Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 35.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deprecation
#### This project is pretty much made redundant by [jobapps](http://github.com/maxpleaner/jobapps).
---
## Job tracker cli
I've recently changed the CLI interface to this to use my [ruby-cli-skeleton](http://github.com/maxpleaner/ruby-cli-skeleton).
To run this, `clone`, `bundle`, then run the `job_tracker_cli` executable, which starts
a ruby REPL. You can type `help` to see commands.
Some useful commands:
- `migrate` _need to run this first to set up the db_
- `remigrate` _deletes everything_
- `add_company(name)`
- `add_event(company_name)`
- `find(fragment_of_company_name)`
- `all_companies`
- `backup(verbose=false)` - writes to backup.yml.
Pass a `true` argument to make a backup that can be re-imported.
- `read_backup` prints the backup file
- `import_backup` from backup.yml, if a verbose export was made
The source for these commands is `job_tracker_api.rb`, where the CLI
base is in `job_tracker_cli`.
The database by default is `job_tracker_cli.db` (sqlite). The db/ folder is ignored by git.
The backup doesnt include todos.
By default, the `backup` command will write a concise summary of the database into
`backup.yml`. To do a full export which can be re-imported, use `backup(true)`
It's helpful to add the cloned folder to the $PATH and add a consice alias for `job_tracker_cli`.
Mine is `job`.