Skip to content
Snap recipe for cheat
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
licenses Get licence from upstream and added some folders to gitignore Apr 7, 2019
snap
.editorconfig add .editorconfig file Nov 1, 2017
.gitignore Get licence from upstream and added some folders to gitignore Apr 7, 2019
CONTRIBUTING.md Bump version to v2.5.1 to match upstream and build based on latest ch… Apr 7, 2019
LICENSE
README.md

README.md

cheat

This is the snap for cheat (based on https://github.com/cheat/cheat), “cheat allows you to create and view interactive cheatsheets on the command-line”. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

cheat

Published for with 💝 by Snapcrafters

Install

$ sudo snap install cheat

Get testing version

$ sudo snap install --channel=[candidate|beta|edge] cheat 

$ sudo snap refresh --channel=[candidate|beta|edge] cheat

Buildstatus

Snap Status

Test latest build

sudo snap install --edge cheat

Install from store

Get it from the Snap Store

(Don't have snapd installed?)

How to use it

Usage: cheat [options] <cheatsheet>

Options:
  cheat <cheatsheet>      get <cheatsheet> content
  cheat -e <cheatsheet>   edit <cheatsheet> / create new <cheatsheet>
  cheat -s <keyword>      search in all <cheatsheet>s for <keyword>
  cheat -l                list available <cheatsheet>s and their folders
  cheat -d                list <cheatsheet>s directories
  cheat -v                show upstream cheat version

Example:

The next time you're forced to disarm a nuclear weapon without consulting Google, you may run:

  cheat tar

You will be presented with a cheatsheet resembling:

  # To extract an uncompressed archive: 
  tar -xvf '/path/to/foo.tar'

  # To extract a .gz archive:
  tar -xzvf '/path/to/foo.tgz'

  # To create a .gz archive:
  tar -czvf '/path/to/foo.tgz' '/path/to/foo/'

  # To extract a .bz2 archive:
  tar -xjvf '/path/to/foo.tgz'

  # To create a .bz2 archive:
  tar -cjvf '/path/to/foo.tgz' '/path/to/foo/'

Remaining tasks

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

  • Fork the Snapcrafters template repository to your own GitHub account.
    • If you have already forked the Snapcrafter template to your account and want to create another snap, you'll need to use GitHub's Import repository feature because you can only fork a repository once.
  • Rename the forked Snapcrafters template repository
  • Update the description of the repository
  • Update logos and references to cheat
  • 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
  • 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 - Call for testing cheat
  • Make a post in the Snapcraft Forum asking for a transfer of the snap name from you to snapcrafters - link
  • Ask a Snapcrafters admin to fork your repo into github.com/snapcrafters, and configure the repo for automatic publishing into edge on commit
  • 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.

The Snapcrafters

| Michael Berner | | cheat-snap | | Chris Allen Lane | | cheat |

Upstream

| Cheat |

You can’t perform that action at this time.