opensafely-core / opensafely-core/opensafely-cli

Add a `init` subcommand

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
5
Avg merge
2d 1h
Merged PRs (30d)
4

Description

This should replace the current "make a repository using a template" workflow.

For now, it can just download the code from the current research template.

The reason this is better is that it allows us to grow new command line options, for example, for updating the GHA tests; it also means we don't have to explain what a Github template is, etc.

The documentation should also be updated. Also here

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CLI entry point and the code behind the current repository-from-template workflow. Review the current research template URL and the linked workflow-make-repo and workflow documentation; done means an init subcommand downloads that template and both documentation pages describe the new workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.