Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Enhancements

OnorioCatenacci edited this page Feb 16, 2012 · 2 revisions

Enhancements

Use this page to discuss potential enhancements or additional behavior for Finnikin. Add a new topic for each enhancement.


sudo

I would like to add a "sudo" function. Signature would be something like this:

sudo string -> (a' -> unit) -> bool

That is, it would take a password string and a function to execute and return a boolean to indicate success or failure. I'm thinking of something like this:

let sudoResult = sudo password (copy sourcefile targetfile)

Comments or thoughts welcome.


alias / shortcut

Create the ability to quickly create a shortcut (or an alias on Linux/BSD) as a primitive function

createAlias string -> string -> bool

First param: name of alias

Second param: command to be aliased

Return: boolean true on success, false otherwise.

Comments or thoughts welcome.

Clone this wiki locally