Skip to content

Software design course home assignment. Simple realization of CLI using python.

Notifications You must be signed in to change notification settings

AntonCoon/python-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-CLI

Build Status

Description

Simple Command Line Interface implemented by Python3. Software design course home assignment.

Builtin commands

  • cat - Concatenate files to standard output;
  • echo - Echo the strings to standard output;
  • wc - Print newline, word, and byte counts for each file;
  • pwd - Print the name of the current working directory;
  • grep - Search for pattern in each file (Parsing of grep arguments implemented by argparse python library because it provide all needed function and simple to use. Besides it's builtin library and ready to use. Also were reviewed such library as getopt, pypy and ConfigArgParse );
  • exit - Exits the shell;

External commands

external commands are calling from the standard shell

Class diagram

diagram

About

Software design course home assignment. Simple realization of CLI using python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages