cvs commit: p5ee/App-Options CHANGES TODO

[email protected] (Stephen Adkins)
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
cvsuser     04/12/28 14:28:52

  Modified:    App-Options CHANGES TODO
  Log:
  current for 0.92
  
  Revision  Changes    Path
  1.8       +10 -3     p5ee/App-Options/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Options/CHANGES,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- CHANGES	2 Dec 2004 16:00:12 -0000	1.7
  +++ CHANGES	28 Dec 2004 22:28:52 -0000	1.8
  @@ -4,10 +4,17 @@
   
   VERSION 0.92
    x cleaned up some warnings which appeared under -w (concatenation of undef)
  - x undefined values appear as "[undef]" rather than "[]" in print_usage
  - x options appear as "--var=<value>" rather than "--var=<var>" in print_usage
  - x option attribute value_description is used instead of "<value>" if given
    x add system-supplied hostname and host options
  + x variable substitution works with environment vars (url = http://$ENV{HOST})
  + x auto-import of environment vars named "APP_*" even if not otherwise defined
  + x usage: undefined values appear as "[undef]" rather than "[]"
  + x usage: options appear as "--var=<value>" rather than "--var=<var>"
  + x usage: "args_description" describes what's left on cmd line after options removed
  + x usage: "value_description" describes option value (instead of "<value>")
  + x added an examples directory
  + x added a benchmark directory
  + x default is $Config{prefix} instead of /usr/local
  + x improve debug_options (env vars, etc.) (implemented 6 levels of debug_options)
   
   VERSION 0.91
    x show_all is off by default whenever "option" or "options" used
  
  
  
  1.8       +6 -13     p5ee/App-Options/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /cvs/public/p5ee/App-Options/TODO,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TODO	2 Sep 2004 21:09:00 -0000	1.7
  +++ TODO	28 Dec 2004 22:28:52 -0000	1.8
  @@ -1,33 +1,26 @@
   ######################################################################
  -## File: $Id: TODO,v 1.7 2004/09/02 21:09:00 spadkins Exp $
  +## File: $Id: TODO,v 1.8 2004/12/28 22:28:52 spadkins Exp $
   ######################################################################
   
   These items are what will be required to go to version 1.00.
    o use File::Spec to make file/directory manipulation platform-independent
   
   These are other interesting things which I might do
  - o add option that documents the args (not just the options) of a command
  + o file/cmd variables, var = <FILE>filename (or "cmd|")
    o here documents, var = <<EOF
  - o file variables, var = <FILE>filename (or "cmd|")
  - o add a standard ${host} variable
    o line continuation chars, i.e. var = hello \\nworld
  - o auto-import of environment vars named "APP_*"
  - o multiple levels of "show_all"
  - o make lots more tests (starting with the examples in the documentation)
  - o substitute environment vars with "$ENV{PATH}"
    o setenv arg to set environment variables
  + o make lots more tests (starting with the examples in the documentation)
    o make example scripts (starting with the examples in the documentation)
    o add --version support (print out own version and versions of all modules)
  - o add "arg" option attribute for the name of the option argument
  - o add "args_description" arg to describe what's left on cmd line after options removed
  - o improve debug_options (env vars, etc.)
    o enforce other option parsing rules (single letter + arg, single/double dash)
    o option aliases/synonyms/alternates (i.e. -s = --silent)
  - o "secure" attribute
  + o "secure" attribute (to ensure that passwords are only stored in files not
  +   readable by "world", and never in %ENV)
    o "strict" option:
          0 = no strictness
          1 = unknown options cause error (file can define options),
  -       2 = [1] + unknown options cause error (program only can define options)
  +       2 = [1] + unknown cmdline options cause error (program only can define options)
          3 = [1+2] + silently don't include options from file not defined by program
          4 = [1+2+3] + options from file not defined by program cause errors
    o write "prefix.pod"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.