Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[CommandLine] rearrange some TODO notes, removing old ones that I'm n…

…ot going to pursue.
  • Loading branch information...
commit c87ce2068b6fd62d7da6a8ce50a46399784eda22 1 parent 2d08c76
@Whiteknight authored
View
6 src/commandline/Program.winxed
@@ -8,8 +8,8 @@
*/
class Rosella.CommandLine.Program
{
- // TODO: Add an ability to pass arguments to the main routine flag instead of
- // in a single Arguments object.
+ // TODO: Take a list of handles to use as the interpreter default during
+ // execution
var program_name; // The string name of the program
var default_mode; // The default ProgramMode
@@ -65,8 +65,6 @@ class Rosella.CommandLine.Program
// Execute the program with the given args
function run(var raw_args)
{
- // TODO: Take some optional parameters, such as handles to use for
- // overriding standard handles, other options.
var args = new Rosella.CommandLine.Arguments(self);
try {
args.parse(raw_args, self.arg_defs);
View
7 src/commandline/ProgramMode.winxed
@@ -5,13 +5,6 @@
*/
class Rosella.CommandLine.ProgramMode
{
- // TODO: Take an integer to use as the default exit code
-
- // TODO: Take a list of handles to use as the interpreter default during
- // execution
-
- // TODO: Add an aliasing ability to give names to positional arguments
-
var name; // The name of the mode
var func; // The function to call
var conditions; // The conditions that determine if we use this mode
View
7 src/core/Hash.winxed
@@ -29,4 +29,11 @@ namespace Rosella
h.set_value_type(DATATYPE_STRING);
return h;
}
+
+ function get_string_int_hash()
+ {
+ var h = {};
+ h.set_value_type(DATATYPE_INT);
+ return h;
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.