chubin / chubin/cheat.sh

Cite source at the end

Open
#173 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Is there a way to have a last line with the source of the cheatsheet?
Example:

user:~# curl cheat.sh/iptables

Answer:

> \# iptables
> \# Program that allows configuration of tables, chains and rules provided by the Linux kernel firewall.
> \# View chains, rules, and packet/byte counters for all tables:
> sudo iptables -vnL
> ...
> \# Restore iptables configuration from a file:
> sudo iptables-restore < path/to/iptables_file
> **[Source: tldr pages]**

Or

> **[Source: stackoverlow]**

It would be helpful to know "hum ok, if I go on tldr.sh, will I see the same content, ... or maybe is this already the content from tldr.sh?"

Contributor guide

Open the contributing guide

Research direction

The issue does not name an implementation file, test, or entry point. Start by tracing how a cheatsheet such as iptables is selected and rendered, then determine where source attribution could be represented; done means the response shows a correct source link or label without disrupting existing cheatsheet output.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cli, content, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.