An open API service indexing awesome lists of open source software.

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

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`.