Editing Command Assistant Help File

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
 
= Application Features =  
 
= Application Features =  
  
*Issue Linux commands including starting GUI applications.
+
*
*Runs as a GUI application.
 
 
*Highly configurable.
 
*Highly configurable.
*Built to be extensible
 
  
 
= Use =
 
= Use =
Note: the application is still a moving target, details are in flux.
+
  
 
The application is designed to help you find and issue Linux commands to get some computer task done.
 
The application is designed to help you find and issue Linux commands to get some computer task done.
Line 20: Line 18:
 
The general workflow is:
 
The general workflow is:
  
* In the key word field enter one or more key words for your task like "list files" an hit enter or press select.  "List files" will select the CommandLs set of commands.
+
* In the key word field enter one or more key words for your task like "list files" an hit enter or press select.  "List files" will
 +
select the CommandLs set of commands.
  
* To activate a selected command click on it ( the first command will be automatically selected, particularly useful when only one command is selected).  This will build a GUI area, mid window, just to run this set of commands.
+
*To activate a selected command click on it ( the first command will be automatically selected, particularly useful when only
 
+
one command is selected).
* In the most general case the command to be issued will consist of 3 parts:
 
** A base command ( like "ls" ).
 
** A field for options to the command ( like ..... )
 
** A filed for further options to the command ( like a file prototype "*.py" )
 
* When you have filled out the 3 parts you can:
 
** Press <Run It>    Which will open a terminal, run the command, and leave the terminal open so you can choose to continue to use it ( or not ).
 
** Press <Preview>  Previews the command in the "message area" at the bottom of the window.
 
** Press <Script>    Writes the command to a shell script an opens in an editor
 
** Press <Web Help>  Open a Linux Cheat Sheet, possibly positioned to the relevant place on the page.
 
** Press <Txt Help>  Get help from a text file on some details of the command set.
 
 
 
Note that:
 
* Each of the three part of the command can end with a command ( starting with a # ).  These comments are generally stripped when the command is run.
 
* When a command is build additional material may be added to maintain a default directory or keep the terminal open.
 
  
 
= Download and Install =  
 
= Download and Install =  
  
There is really no install program.  Currently the application is intended for those who have a fair familitry familiarity with Python coding and can just insert the downloaded code into their development environment and run it. You should also have a general idea of how to use the Linux Command Line. Code at *'''[https://gitlab.com/russhensel/cmd_assist Russell Hensel / cmd_assist · GitLab ]'''.  For most of you it will not run due to dependency problems.  You will need to add them.  Pretty much read the error messages and install the missing code.  I use Anaconda Spyder so my preferred tool is conda ( conda install pyHS100 ).  If conda does not work or you do not use it use pip.  
+
There is really no install program.  Currently the application is intended for those who have a fair familitry familiarity with Python coding and can just insert the downloaded code into their development environment and run it. You should also have a general idea of how to use the Linux Command Line. Code not at '''[https://github.com/russ-hensel/smart_plug/tree/master russ-hensel/Smart_plug Application ]''' but comming.  For most of you it will not run due to dependency problems.  You will need to add them.  Pretty much read the error messages and install the missing code.  I use Anaconda Spyder so my preferred tool is conda ( conda install pyHS100 ).  If conda does not work or you do not use it use pip. pyHS100, a library for smart plugs is pretty likely to be missing ( pip install pyHS100) .  Depending on your installation there may be more.
  
Much of the application is configurable through the parameter.py file, but the default should give you an application that runs,   
+
Much of the application is configurable through the parameter.py file, but the default should give you an application that runs, including a default database. You probably will not be able to talk to your smartplugs, because the parameters do need to be told what and where ( tcpip address ) they are.
  
 +
 
With the edited parameter file saved, restart the application.    Not working?  Double check or email me.
 
With the edited parameter file saved, restart the application.    Not working?  Double check or email me.
  

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)