123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="icon" type="image/png" href="logo.png" />
- <title>Neocities' CLI</title>
- <link href="style.css" rel="stylesheet" type="text/css" media="all">
- <!-- -->
- <!-- Because you are reading this, it must mean only one thing; you -->
- <!-- are looking at our page source, well, hope you like the -->
- <!-- look of it! -->
- <!-- -->
- <!-- The Penny's Pages Wiki was made by members of the Neocities -->
- <!-- webhost, for your enjoyment, and our pain. We hope that you are -->
- <!-- enjoying reading our articles. -->
- <!-- -->
- <!-- Penny's Pages is composed of original material, and may be used -->
- <!-- as long as you follow CC BY-NC-SA 3.0 -->
- <!-- -->
- <!-- Our URL: https://thewikion.neocities.org/ -->
- <!-- -->
- <!-- Enjoy the rest of your night, young Internet search astronaut! -->
- <!-- -->
- <h1>Neocities' CLI</h1>
- <div class="tag">
- <img src="img/wikipedia.png" align=left hspace=15 vspace=5>
- <p>
- <h3>The majority of this article uses text form Wikipedia or a similar wikia.</h3>
- Most, or a lot of the text on this page is taken from <a href="https://minerobber.neocities.org/neowiki/neocities_cli.html" target="_blank">neowiki</a>, try and make most of the article original.
- <p>
- <p><hr></hr>
- <tt>04/09/18</tt>
- </div></style>
- <p>
- A command-line interface or command language interpreter (CLI), also known as command-line user interface, console user interface, and character user interface (CUI), is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). A program which handles the interface is called a command language interpreter or shell (computing).</p>
- <p>
- The <a href="https://neocities.org/cli">Neocities CLI</a> is a utility written in the <a href="https://en.wikipedia.org/wiki/Ruby_%28programming_language%29" target="_blank">Ruby programming language</A> to interface with the Neocities API from a terminal. It allows a website to be managed entirely through the console, without the use of a web browser.</p>
- <p>
- <h2><a href="#Installation">Installation</a><a name="Installation"></a></h2>
- The Neocities CLI runs on any platform with <a href="https://www.ruby-lang.org/en/downloads/" target="_blank">Ruby, and its Gem package manager</a> installed. Run <tt>gem install neocities</tt> and it will install.</p>
- <p>
- In the case of macOS or Linux users, the page on Neocities' website advises to run it with <tt>sudo</tt> if there are permissions issues. If the installation has an error about <tt>rake</tt> not being installed, run <tt>gem install rake</tt> before trying again.</p>
- <h2><a href="#Usage">Usage</a><a name="Usage"></a></h2>
- <p>
- Using any of the Neocities CLI's functions will prompt you to enter your site's username and password. After this, it will store the API key and you won't need to enter it again.</p>
- <p>
- A full list of the CLI's functions can be found by just typing <tt>neocities</tt> into the terminal.</p>
- <p>
- If you have an existing site, you may want to download and extract it first through the Neocities dashboard, so you can jump into editing right away.</p>
- <p>
- You can push the entire directory to your site by going to the folder and running <tt>neocities push .</tt>.</p>
- <p>
- Additionally, you can upload files (<tt>neocities upload</tt>), delete files (<tt>neocities delete</tt>), list your files (<tt>neocities list</tt>), get stats (<tt>neocities info</tt>), or log out (<tt>neocities logout</tt>).</p>
- <hr>
- <tt>
- References<br>
- I. Command-line interface<br>
- <a href="https://en.wikipedia.org/wiki/Command-line_interface">https://en.wikipedia.org/wiki/Command-line_interface</a>
- <br>
- II. neowiki article</br>
- <a href="https://minerobber.neocities.org/neowiki/neocities_cli.html">https://minerobber.neocities.org/neowiki/neocities_cli.html</a>
- <br>
- III. Neocities' Cli</br>
- <a href="https://neocities.org/cli">https://neocities.org/cli</a>
- <br>
- III. neocities/neocities-ruby - The Github repository for the CLI</br>
- <a href="https://github.com/neocities/neocities-ruby">https://github.com/neocities/neocities-ruby</a>
- <p>This page was last updated: 04/09/2018 @ 17:05</p>
- <p>In total this page has had 0 updates since it was uploaded.</p>
- </tt>
- <font color="black"><center>★</center></font>
- </body>
- </html>
|