neom_cli 1.0.0 copy "neom_cli: ^1.0.0" to clipboard
neom_cli: ^1.0.0 copied to clipboard

Cross-platform shell execution engine for Dart. Run commands with timeout, streaming output, and structured results on Windows, macOS, and Linux.

Changelog #

1.0.0 #

Initial public release.

Features #

  • CliExecutor — Cross-platform shell command execution (Windows: cmd, Unix: bash)
    • CliExecutor.run() — Static convenience method for one-shot commands
    • CliExecutor().execute() — Instance method with custom configuration
    • CliExecutor().stream() — Real-time line-by-line output streaming
    • Configurable timeout, working directory, and environment variables
    • Process kill support via CliExecutor().kill()
  • CliResult — Structured command result with exit code, stdout, stderr, duration, and timestamp
    • JSON serialization (toJson / fromJson)
    • Convenience getters: isSuccess, isTimeout, hasOutput, hasError
  • NeomLogger — Structured logging with levels, tags, task tracking, and JSON output
  • LogEntry — Log entry model with level, message, tag, timestamp, and metadata
  • CLI binary (neom) with exec and version commands
  • Web-safe stub implementation for cross-platform compilation
0
likes
110
points
100
downloads

Documentation

API reference

Publisher

verified publisheropenneom.dev

Weekly Downloads

Cross-platform shell execution engine for Dart. Run commands with timeout, streaming output, and structured results on Windows, macOS, and Linux.

Repository (GitHub)
View/report issues

Topics

#cli #shell #process #executor #command-line

License

unknown (license)

Dependencies

args

More

Packages that depend on neom_cli