Skip to content
/ cli Public

A modern and minimal CLI written in Rust to manage your txtcv CV from the terminal

License

Notifications You must be signed in to change notification settings

txtcv/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

txtcv CLI

txtcv is a modern, minimal CLI program for managing your txtcv CV from the terminal. It helps you spin up a new CV, validate it against the JSON resume schema, authenticate with txtcv.com, and publish updates in seconds.

Features

  • init scaffolds a starter cv.json file you can customise.
  • validate checks your CV against the bundled JSON Schema before you publish.
  • convert converts your CV between JSON and YAML formats.
  • auth manages your personal access token (login, logout, check).
  • publish uploads the contents of cv.json to txtcv.com using your token.

Installation

The CLI can be installed either using Homebrew or using Cargo.

Homebrew installation

brew install txtcv/tap/txtcv

Cargo installation

# build and install locally
cargo install --path .

# alternatively, build the binary without installing
cargo build --release

Usage

Display the built-in help:

txtcv --help

Typical workflow:

# 1. Create a starter cv.json
 txtcv init

# 2. Fill in cv.json with your details

# 3. Validate before publishing
 txtcv validate

# 4. (Optional) Convert to YAML format
 txtcv convert json yaml --filename cv.json

# 5. Authenticate with your personal access token
 txtcv auth login

# 6. Publish updates to txtcv.com
 txtcv publish --cv-id <your-cv-id>

Authentication details

txtcv auth login securely stores your personal access token using the confy crate. Subsequent commands reuse the stored token until you run txtcv auth logout to clear it.

Links

About

A modern and minimal CLI written in Rust to manage your txtcv CV from the terminal

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages