Skip to content

Commit

Permalink
Version 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Aug 14, 2016
1 parent 23cd00a commit 0234092
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 3 additions & 0 deletions docs/api_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ API Documentation
=================

The Run Command

*soldier.run(command, **kwargs)*

10 changes: 4 additions & 6 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ Usage

After successfully installing soldier, you will now be able to communicate with system processes without making your eyes bleed.

Get output of pwd command
-------------------------
**Get output of pwd command**

.. code-block:: python
Expand All @@ -18,8 +17,7 @@ Get output of pwd command
>> print(current_path.status_code)
0
Run a process in background, and later terminate it
---------------------------------------------------
**Run a process in background, and later terminate it**

.. code-block:: python
Expand All @@ -32,13 +30,13 @@ Run a process in background, and later terminate it
>> firefox_proc.is_alive()
>> False
Run a root command
**Run a root command**

.. code-block:: python
>> soldier.run('service nginx start', sudo='my_password')
Run a command with timeout
**Run a command with timeout**

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='soldier',
version='0.0.2.1',
version='0.1',
author='Yash Mehrotra',
author_email='yashmehrotra95@gmail.com',
packages=['soldier'],
Expand Down
2 changes: 1 addition & 1 deletion soldier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""

__title__ = 'soldier'
__version__ = '0.0.2.1'
__version__ = '0.1'
__author__ = 'Yash Mehrotra'
__license__ = 'Apache 2.0'

Expand Down

0 comments on commit 0234092

Please sign in to comment.