Skip to main content

milestone_create_argv

Function milestone_create_argv 

Source
pub fn milestone_create_argv(slug: &str, spec: &MilestoneSpec) -> Vec<String>
Expand description

Argv for gh api -X POST repos/<slug>/milestones -f title=… [-f description=…] [-f due_on=…] -f state=…. Each optional field is omitted entirely when absent — gh would otherwise wipe the existing remote value.