GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cli-guidelines/cli-guidelines: A guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.

BranchesTags
Open more actions menu

Latest commit

 

History

231 Commits
231 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
content
content
 
 
layouts
layouts
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.sh
build.sh
 
 
hugo.toml
hugo.toml
 
 
wrangler.toml
wrangler.toml
 
 

Repository files navigation

Command Line Interface Guidelines

An open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.

This is the source code for the guide. To read it, go to clig.dev.

Join us on Discord if you want to discuss the guide, or just chat about CLI design.

Contributing

The content of the guide lives in a single Markdown file, content/_index.md. The website is built using Hugo.

To run Hugo locally to see your changes, run:

$ brew install hugo
$ cd <path>/<to>/cli-guidelines/
$ hugo server

To view the site on an external mobile device, run:

hugo server --bind 0.0.0.0 --baseURL http://$(hostname -f):1313

Deployment

The site is hosted on Cloudflare Workers as a static-assets project, built and deployed from this repo:

  • build.sh installs a pinned Hugo and builds the site into public/.
  • wrangler.toml runs build.sh and uploads public/ as the Worker's static assets. The Cloudflare deploy command is npx wrangler deploy.
  • public/_headers (from assets/_headers) makes Cloudflare serve /llms.txt as text/markdown.

Two zone-level Cloudflare Rules support the site (these are not part of the deploy):

  • a URL Rewrite rule that serves /llms.txt for requests to / sending an Accept: text/markdown header;
  • a Redirect rule from www.clig.dev to the apex clig.dev.

Provision or update both (idempotent) with:

$ CLOUDFLARE_API_TOKEN=... ./scripts/cloudflare-transform-rule.sh

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

A guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.

clig.dev

Resources

Readme
CC-BY-SA-4.0 license
Activity
Custom properties

Stars

3.9k stars

Watchers

28 watching

Forks

123 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.