ShellKit Examples

June 25, 2025 ยท View on GitHub

Welcome to the ShellKit examples! These .log files demonstrate real-world usage scenarios of ShellKit's features, from basic commands to advanced debugging capabilities.

๐Ÿ“– How to Use These Examples

Each .log file contains a complete terminal session showing:

  • Commands typed by users (after the prompt pysh [PATH] โžœ)
  • Actual output from ShellKit
  • Interactive demonstrations you can follow along

Simply copy and paste the commands to try them yourself!

๐Ÿ“‚ Directory Structure

๐ŸŸข basic/ - Getting Started

Perfect for new users learning shell basics:

๐ŸŒ i18n/ - Multilingual Support

Explore ShellKit's international features:

๐Ÿ” inspector/ - Debugging & Tracing

Deep dive into ShellKit's introspection capabilities:

๐Ÿš€ advanced/ - Power User Features

Advanced concepts for experienced users:

๐ŸŽฏ Quick Start Guide

  1. New to shells? Start with basic/getting_started.log
  2. Want to see the multilingual magic? Check i18n/multilingual_demo.log
  3. Curious about the internals? Try inspector/trace_echo_demo.log
  4. Ready for advanced features? Explore advanced/printf_formatting.log

๐Ÿ’ก Tips for Learning

  • Follow along: Type the commands as you read
  • Experiment: Modify the examples to see what happens
  • Use help: Remember help <command> for detailed documentation
  • Case-insensitive: Tab completion ignores case differences
  • Multi-language: Try export PYSH_LANG=ja for Japanese interface

๐Ÿ”ง Example Commands to Get Started

# Basic usage
$ pysh
echo "Hello, ShellKit!"
help echo
exit

# With options
$ pysh --no-banner --prompt-color green
$ pysh -c "printf 'Quick test: %s\n' 'success'"
$ pysh --trace-echo

# Multilingual
$ export PYSH_LANG=en && pysh

๐ŸŽจ Want a colorful prompt theme?

$ pysh
export PS1="\033[90m[\033[1;32mdemo\033[90m@\033[31mm\033[33ma\033[32mc\033[36mb\033[34mo\033[35mo\033[31mk\033[33mp\033[32mr\033[34mo\033[90m ~]\033[90m$ \033[0m"
[demo@macbookpro ~]$ 

img.png

  • Installation: See main README.md
  • Command Reference: Use help within ShellKit
  • Development: Check docs/ directory
  • Contributing: See CONTRIBUTING.md

๐ŸŒŸ What Makes These Examples Special

  • Real terminal sessions - No artificial examples
  • Progressive complexity - From beginner to expert
  • Cross-platform - Works on macOS, Linux, and Windows
  • Educational focus - Learn shell concepts and system calls
  • Multilingual - Examples in 4 languages (en/ja/ko/zh)

Ready to explore? Pick a directory that matches your experience level and dive in!

Remember: ShellKit is designed for learning. Don't hesitate to experiment and break things - that's how you learn best! ๐Ÿš€


โ† Back to Main