aboutsummaryrefslogtreecommitdiff
path: root/src/install.lua
blob: 46b1d7f057ee91657f16d17a63c30fdbd5f30d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return function()
	local args = require('arg') {
		strict = true,
		{ name = "path" },
		{
			name = "name",
			description = "template name (default: name of the directory)",
			kind = "property",
			required = false,
		}
	}

	manager.install(Path:new(args.path), args.name)
end