konrad11901 / tosheets-snap

Snap for tosheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tosheets

This is the snap for tosheets, "A simple command line utility that sends your stdin to sheets". It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Snap Status

The author of this tool is kren1. The original repository can be found here.

Install

sudo snap install tosheets

(Don't have snapd installed?)

How to use it

$ tosheets -h
tosheets, send stdin to your google sheets

Usage:
  tosheets -c <cell> [-u] [-s <sheet>] [--spreadsheet=<spreadsheet>] [--new-sheet=<name>] [-d <delimiter>]
  tosheets (-h | --help)
  tosheets --version
  
Options:
  -h --help                     Prints help.
  --version                     Show version.
  -u                            Update CELL(s) instead of appending.
  -c CELL                       Start appending to CELL.
  -s SHEET                      Use sheet name SHEET, otherwise tries to use TOSHEETS_SHEET (default: first visible sheet). 
  -d DELIMITER                  Use DELIMITER to split each line (default: whitespace).
  --spreadsheet=<spreadsheet>   Send to the spreadsheet identified by spreadshetId (ie. docs.google.com/spreadsheets/d/<spreadsheetId>/...), if empty uses TOSHEETS_SPREADSHEET enviroment variable.                                
  --new-sheet=<name>            Create a new spreadsheet with the chosen name. Prints the spreadsheetId so it can be piped/stored.

Known issues

  • When running tosheets for the first time, it should open the default browser with the Google Account login page loaded. Unluckily, it doesn't work, so you need to open the outputted link manually. This issue doesn't occure if the snap is installed in devmode. This bug has been fixed (see here).

Published for with 💝 by Snapcrafters

Remaining tasks

Snapcrafters (join us) are working to land snap install documentation and the snapcraft.yaml upstream so [Project] can authoritatively publish future releases.

  • Fork the Snapcrafters template repository to your own GitHub account.
  • Rename the forked Snapcrafters template repository
  • Update logos and references to [Project] and [my-snap-name]
  • Create a snap that runs in devmode
  • Register the snap in the store, using the preferred upstream name
  • Add a screenshot to this README.md is it neccessary in this case?
  • Publish the devmode snap in the Snap store edge channel
  • Add install instructions to this README.md
  • Update snap store metadata, icons and screenshots
  • Convert the snap to strict confinement, or classic confinement if it qualifies
  • Publish the confined snap in the Snap store beta channel
  • Update the install instructions in this README.md
  • Post a call for testing on the Snapcraft Forum - link
  • Ask a Snapcrafters admin to fork your repo into github.com/snapcrafters, transfer the snap name from you to snapcrafters, and configure the repo for automatic publishing into edge on commit (asked via Code-in dashboard)
  • Add the provided Snapcraft build badge to this README.md
  • Publish the snap in the Snap store stable channel
  • Update the install instructions in this README.md
  • Post an announcement in the Snapcraft Forum - link
  • Submit a pull request or patch upstream that adds snap install documentation - link
  • Submit a pull request or patch upstream that adds the snapcraft.yaml and any required assets/launchers - link
  • Add upstream contact information to the README.md
  • If upstream accept the PR:
    • Request upstream create a Snap store account
    • Contact the Snap Advocacy team to request the snap be transferred to upstream
  • Ask the Snap Advocacy team to celebrate the snap - link

If you have any questions, post in the Snapcraft forum.

About

Snap for tosheets

License:MIT License