Implementing a set of CLI commands to view config resources in Azure --
confmod check-login checks if the CLI token is properly authenticated, returns an error if az login hasn't been run
confmod list-jobs lists all unique job IDs in the rt-epinow2-config container
confmod list-tasks lists all the tasks for a given job id. requires job_id parameter to be passed in via --job-id or -j flag
confmod inspect-task prints the task configuration, requires job_id and task_filename parameters to be passed in via --job-id, -j and --task-filename, -t flags, respectively
Let me know if this workflow makes sense or if there are any improvements or other commands you'd like to see -- modifying the tasks will be the next step. These are the IDs I used for testing:
@zsusswein that's a good point, I'll create an issue for implementing some basic filtering logic (by state, disease, date range?) and showing a fixed amount of jobs/tasks in case there are a lot of them
Implementing a set of CLI commands to view config resources in Azure --
confmod check-login
checks if the CLI token is properly authenticated, returns an error ifaz login
hasn't been runconfmod list-jobs
lists all unique job IDs in thert-epinow2-config
containerconfmod list-tasks
lists all the tasks for a given job id. requires job_id parameter to be passed in via--job-id
or-j
flagconfmod inspect-task
prints the task configuration, requires job_id and task_filename parameters to be passed in via--job-id, -j
and--task-filename, -t
flags, respectivelyLet me know if this workflow makes sense or if there are any improvements or other commands you'd like to see -- modifying the tasks will be the next step. These are the IDs I used for testing: