Simple self contained scripts that can be executed against each project in your meta project.
| Key | Description | Default |
|---|---|---|
| version | The version of the script. Should be '1.0' for compatibility. | '1.0' |
| cache | Determines cache behavior. Can be 'git' (default) or 'none'. | 'git' |
| output | The type of output the script generates. Can be 'text', 'csv', or 'json'. | 'text' |
| columns | Required if output is 'csv'. An array specifying the column headers. |
N/A |
// query-project-api-version: 1.0
// Take an info argument and return information about the script
if (Deno.args.length > 0 && Deno.args[0] === '--info') {
console.log(JSON.stringify({
version: '1.0',
output: 'text'
}));
Deno.exit();
}
const currentWorkingDirectory = Deno.cwd();
// Should run process for cwd
console.log(['datum_1', 'datum_2'].join(","))