Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
gh(1)Aug(2020)							gh(1)Aug(2020)

Auto generated by spf13/cobra

NAME
       gh-gist-create -	Create a new gist

SYNOPSIS
       gh gist create [... | -]	[flags]

DESCRIPTION
       Create a	new GitHub gist	with given contents.

       Gists  can  be  created from one	or multiple files. Alternatively, pass
       "-" as file name	to read	from standard input.

       By default, gists are private; use '--public' to	make  publicly	listed
       ones.

OPTIONS
       -d, --desc=""	  A description	for this gist

       -p, --public[=false]	 List the gist publicly	(default: private)

OPTIONS	INHERITED FROM PARENT COMMANDS
       --help[=false]	   Show	help for command

EXAMPLE
	      #	publish	file 'hello.py'	as a public gist
	      $	gh gist	create --public	hello.py

	      #	create a gist with a description
	      $	gh gist	create hello.py	-d "my Hello-World program in Python"

	      #	create a gist containing several files
	      $	gh gist	create hello.py	world.py cool.txt

	      #	read from standard input to create a gist
	      $	gh gist	create -

	      #	create a gist from output piped	from another command
	      $	cat cool.txt | gh gist create

SEE ALSO
       gh-gist(1)

HISTORY
       31-Aug-2020 Auto	generated by spf13/cobra

								gh(1)Aug(2020)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPTIONS INHERITED FROM PARENT COMMANDS | EXAMPLE | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gh-gist-create&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help