-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from Raphux/master
bash_completion capability for passhport-admin
- Loading branch information
Showing
11 changed files
with
1,122 additions
and
111 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
docs/installation-and-configuration/add-bash_completion-to-passhport-admin.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Add bash_completion capability to passhport-admin | ||
================================================== | ||
|
||
We provide a bash_completion file, so that you can use [TAB] to auto-complete the passhport-admin command. | ||
|
||
As root, copy the provide file to `/etc/bash_completion/passhport-admin` directory, and source it : | ||
|
||
.. code-block:: none | ||
# cp /home/passhport/passhport/tools/passhport-admin.bash_completion /etc/bash_completion.d/passhport-admin | ||
# . /etc/bash_completion.d/passhport-admin | ||
You can now do things like these : | ||
|
||
.. code-block:: none | ||
# passhport-admin [TAB][TAB] | ||
target user targetgroup usergroup | ||
# passhport-admin t[TAB] | ||
# passhport-admin target[TAB] | ||
target targetgroup | ||
# passhport-admin targetg[TAB] | ||
# passhport-admin targetgroup [TAB][TAB] | ||
list search show create edit adduser rmuser | ||
addtarget rmtarget addusergroup rmusergroup | ||
addtargetgroup rmtargetgroup delete | ||
# passhport-admin user show [TAB][TAB] | ||
john rachel alfred bruce kim jared | ||
# passhport-admin user show j[TAB] | ||
john jared | ||
# passhport-admin user show ja[TAB] | ||
# passhport-admin user show jared | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...o/fr/LC_MESSAGES/installation-and-configuration/add-bash_completion-to-passhport-admin.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) 2017, LibrIT | ||
# This file is distributed under the same license as the PaSSHport package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PaSSHport \n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-11-05 21:34+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.5.1\n" | ||
|
||
#: ../../installation-and-configuration/add-bash_completion-to-passhport-admin.rst:2 | ||
msgid "Add bash_completion capability to passhport-admin" | ||
msgstr "" | ||
|
||
#: ../../installation-and-configuration/add-bash_completion-to-passhport-admin.rst:4 | ||
msgid "" | ||
"We provide a bash_completion file, so that you can use [TAB] to auto-" | ||
"complete the passhport-admin command." | ||
msgstr "" | ||
|
||
#: ../../installation-and-configuration/add-bash_completion-to-passhport-admin.rst:6 | ||
msgid "" | ||
"As root, copy the provide file to `/etc/bash_completion/passhport-admin` " | ||
"directory, and source it :" | ||
msgstr "" | ||
|
||
#: ../../installation-and-configuration/add-bash_completion-to-passhport-admin.rst:13 | ||
msgid "You can now do things like these :" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.