Jump to content
Ketarin forum

Command-line import of template with variables


shawn
 Share

Recommended Posts

I find myself in a situation where I have to add 973 new app profiles based on a single template to Ketarin. By tomorrow, of course. :)

 

For now, I'm writing a little script in Excel that'll create custom XML docs based on my template as if they were created within Ketarin (unique GUID and parameter substitution). I'll import those through the interface or with the existing /install= switch.

 

In the future however, I'd like to be able to use something like this:

 

ketarin.exe /install=mytemplate.xml /p(name)="My name substitution" /p(class)="my class substitution" /p(changelog)="whatever I want in the changelog parameter"
This would replace the placeholder values in mytemplate.xml for 'name', 'class' and 'changelog' with the string values from the command line.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.