diff --git a/persoconf/main.py b/persoconf/main.py index 0af3f4a..25002f8 100755 --- a/persoconf/main.py +++ b/persoconf/main.py @@ -271,6 +271,22 @@ parser_add.add_argument( "--confname" , help="A special name to save the conf " \ "file/directory in the persoconf directory" ) +# Delete +parser_del = subparsers.add_parser( "delete" , + help="Delete an app from the persoconf " \ + "directory, or a config file from " \ + "an existing app" ) + +parser_del.add_argument( "app" , + type=str , + help="The app to delete, or the app to delete a " \ + "conf file from" ) + +parser_del.add_argument( "conf" , + nargs="?" , + type=str , + help="The conf file or directory to delete from " \ + "the app" ) # Parse arguments args = parser.parse_args()