Skip to content

Commit

Permalink
✔️❓ Tutorial rm.md done.
Browse files Browse the repository at this point in the history
	+ (maybe some improvements, specially for the asciinema recording)
	+ Some changes to menu & footer

 Issues related:
 	-> #19 Documentation
 	-> #22 Tutorial

 On branch gh-pages
 Your branch is up to date with 'origin/gh-pages'.

 Changes to be committed:
	modified:   _includes/wallet/config.md
	new file:   _includes/wallet/help.md
	modified:   _includes/wallet/rm.md
	modified:   _layouts/default.html
	modified:   _layouts/wallet.html
  • Loading branch information
ChacaS0 committed Mar 23, 2018
1 parent 78e124c commit d13b3c6
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 15 deletions.
5 changes: 3 additions & 2 deletions _includes/wallet/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@
### [](#head-config-1)Set up configuration:
:wrench: Configuration with **TEMPest** is done with the ``set`` command.
```bash
tempest set
tempest set <FLAG> <VALUE>
```


### [](#head-config-2)Access configuration:
:wrench: Access to configuration is done with the ``get`` command.
```bash
tempest get
tempest get <FLAG>
```


**Possible flags:**

| Long Flag | Short Flag | Description |
|:----------------|:------------|:------------------------------------------------------------------------------|
| \-\-help | -h | [NO_ARGS] See the help section for the command. |
| \-\-age | -a | Set the age of the targets. age = 3 means that if a file haven't been modified for 3 days, it will be deleted. |
| \-\-daemon-mode | -d | ``true`` if you want it to run as daemon, ``false`` otherwise. |

Expand Down
4 changes: 4 additions & 0 deletions _includes/wallet/help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* ``tempest``
* ``tempest help``
* ``tempest get help``
* ``tempest doc``
13 changes: 12 additions & 1 deletion _includes/wallet/rm.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
**remove targets**

<a href="https://asciinema.org/a/yujAEYSQnLZTP9YnugDTHtytS" target="_blank"><img src="https://asciinema.org/a/yujAEYSQnLZTP9YnugDTHtytS.png" /></a>

### [](#head-rm-1)List of flags

| Long Flag | Short Flag | Description |
|:----------------|:------------|:--------------------------------------------------------------------------------------------------------|
| \-\-help | -h | [NO_ARGS] See the help section for the command. |
| \-\-index | -i | [INT] Use the index number shown by ``tempest list`` to identify which target to delete. |
| \-\-path | -p | [STRING] Use the path shown by ``tempest list`` to identify which target to delete. |
| \-\-origin | -o | [NO_ARGS] To be used with ``-p`` or ``-i``, indicates to **TEMPest** to remove it from your computer. |

17 changes: 6 additions & 11 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,12 @@
<a class="main-title" href="{{site.url}}"><h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1></a>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<!-- <hr> -->
{% if site.github.is_project_page %}
<!-- MENU -->
<a href="{{ site.github.repository_url }}" class="btn" target="_blank">View on GitHub</a>
<a href="{{site.url}}/install" class="btn">Installation</a>
<a href="{{site.url}}/usage" class="btn">Usage</a>
<a href="{{site.url}}/about" class="btn">About</a>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TQYU8BPPV5YWA" target="_blank" title="Redirects to Paypal" class="btn">Donate</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
<a href="{{site.url}}/install" class="btn">Installation</a>
<a href="{{site.url}}/usage" class="btn">Usage</a>
<a href="{{site.url}}/about" class="btn">About</a>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn" target="_blank">View on GitHub</a>
{% endif %}
<!-- //MENU -->
</section>
Expand All @@ -47,7 +42,7 @@ <h2 class="project-tagline">{{ site.description | default: site.github.project_t

<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">TEMPest</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">TEMPest</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>. <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TQYU8BPPV5YWA" target="_blank" title="Redirects to Paypal">Donate :moneybag:</a></strong></span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
Expand Down
8 changes: 7 additions & 1 deletion _layouts/wallet.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,19 @@ <h2 id="wall-start" class="wall-head">Launch TEMPesst </h2>
<div id="wall-ctnt6" class="wall-ctnt">
{% capture wallet-start %}{% include wallet/start.md %}{% endcapture %}
{{ wallet-start | markdownify }}
</div>
<!-- HELP -->
<h2 id="wall-help" class="wall-head">Get help from TEMPesst </h2>
<div id="wall-ctnt7" class="wall-ctnt">
{% capture wallet-help %}{% include wallet/help.md %}{% endcapture %}
{{ wallet-help | markdownify }}
</div>
<!-- //WALLET -->
</div>

<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">TEMPest</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.<strong>Support - <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TQYU8BPPV5YWA" target="_blank" title="Redirects to Paypal">Donate</a></strong></span>
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">TEMPest</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>. <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TQYU8BPPV5YWA" target="_blank" title="Redirects to Paypal">Donate :moneybag:</a></strong></span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
Expand Down

0 comments on commit d13b3c6

Please sign in to comment.