[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: tla update-config
From: |
Tom Lord |
Subject: |
Re: [Gnu-arch-users] Re: tla update-config |
Date: |
Wed, 1 Oct 2003 15:59:49 -0700 (PDT) |
> From: Miles Bader <address@hidden>
> Somehow the idea of duplicating every command with a `foo-config'
> version seems wrong to me.
> All the mentioned commands take a --dir option and a version argument,
> so it probably _ought_ to work to just use:
> tla catcfg CONFIG | xargs -n2 tla CMD --dir
> If that's too annoying maybe some more convenient-to-type interface
> could be added to tla, but I don't like just doubling the number of
> commands.
> One possible interface would be to add a `--config' option to the
> primitive command, e.g.,
> tla update --config CONFIG
> Presumably the way to implement this would be to add a helper-function
> in libarch that arch_cmd_update et al. could call.
> [say, didn't this same conversation occur on the mailing like two weeks
> ago???]
[probably] and, I agree.
But, perhaps what this points towards is the desirable of various
scripting language interfaces to tla? Perhaps the underlying issue
that the kids these days have no appreciation for shell programming :-)
-t