On Sat, Jan 2, 2016 at 11:31 AM, David Vines <d...@zombi.eclipse.co.uk> wrote:
> I now have a prototype for command line access to add attachments to wiki > pages and tech notes. I'd like to ask for any feedback on the command > itself before I polish my changes and put the changes up for review: > > fossil wiki attachment add ?PAGENAME? FILENAME [-t|--technote DATETIME ] > > Add an attachment to an existing wiki page or tech note. One of > PAGENAME or DATETIME must be specified. > > I made "attachment" as a noun to allow for the later addition of other > verbs like list and export. I don't propose to change the ticket since (a) > I don't need it myself and (b) the existing ticket command just modifies > the metadata for existing tickets and doesn't allow creation of tickets or > the addition of text to existing tickets. i like the idea but am concerned that "attachment" might be annoyingly long to type on the CLI. If you'll move it into its own top-level command then it could take advantage of fossil's built-in "auto-shortening" of top-level commands, e.g.: fossil att[achment] add ... If it's a subcommand of "wiki" then the ability to use any unique short form of it doesn't come for free (that only works for top-level commands). :-? ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users