Giter VIP home page Giter VIP logo

tils-cli's Introduction

tils-cli

A command-line client for tils.dev

Note: Visit the master branch for the latest released version.

Installation

Pre-built binaries

Binaries for Linux, MacOS and Windows are available under releases.

From source

You need to have Go installed.

On Debian GNU/Linux:

sudo apt install golang

On MacOS:

brew install go

Then issue:

go get -u github.com/agorf/tils-cli/cmd/tils

Note: This command will place the tils executable under the bin directory of your $GOPATH. To be able to execute it without typing its absolute path, you can update your PATH variable to include Go's bin directory by adding the following line to the proper dotfile for your shell (~/.bashrc, ~/.zshrc etc):

export PATH=$PATH:$(go env GOPATH)/bin

Configuration

First sign up for an account and get your API token.

Use the config command to enter your API token:

$ tils config
? API token: 41271f50fd9a7dcf904a727039a5ec24
Wrote config

Alternatively, you can set the TILS_CLI_API_TOKEN environment variable which takes precedence over the config file.

Usage

$ tils help
tils [command]

Commands:

    new        Create til
    show       Show til content in the terminal
    open       Open til in the browser
    copy       Copy til to the clipboard
    edit       Edit til
    archive    Archive til
    delete     Delete til
    config     Configure
    version    Print the current version
    help       Print this help text

If a command is not provided, a picker will ask for one

License

The MIT License

Author

Angelos Orfanakos, https://angelos.dev

tils-cli's People

Contributors

agorf avatar iridakos avatar

Stargazers

Kiriakos Velissariou avatar  avatar  avatar Dimitris Zorbas avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

iridakos

tils-cli's Issues

Clear tags

Right now it's not possible since the default tags are selected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.