Artifact 523ca7b4643ec5f84cf1449266009b870d65a16d:
- Executable file examples/ask-string — part of check-in [1eeef53431] at 2014-05-23 21:51:43 on branch trunk — cmdr::ask - Fixed a syntax problem. Fixed scope issue (string command). Tweaked the prompt setup. Plus example apps (also for interactive testing). (user: andreask size: 204)
#!/usr/bin/env tclsh # -*- tcl -*- package require Tcl 8.5 package require cmdr::ask puts [cmdr ask string Hostname [info hostname]] puts [cmdr ask string Footer] puts [cmdr ask string* Password] exit