Skip to content

mcpexp/cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CLI Tool

This is a simple CLI tool with command-line argument support.

New Features

  • Added greeting function: greet_user that returns a personalized greeting.
  • Added command-line argument parsing using argparse.

Usage

Run the tool with optional arguments:

python main.py [--name NAME] [--verbose]

Arguments

  • --name, -n: Name to greet (default: 'World')
  • --verbose, -v: Enable verbose output

Examples

python main.py
# Output: Hello World

python main.py --name Alice
# Output: Hello Alice

python main.py --name Bob --verbose
# Output:
# Verbose mode: Greeting Bob
# Hello Bob

About

A simple command-line utility for file operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages