Drone

Drone repo add command

According to the drone CLI docs it is possible to add a repository to drone using the command drone repo add org/repo.

However if Drone CLI, the add command doesn’t exist. Running drone repo add org/repo gives No help topic for 'add' and running drone repo --help gives a list of subcommands, not including add.

How can I add a repository to drone via the CLI? I have admin access to the repo, but not to the repo’s organisation.

The command name was changed from drone repo add to drone repo enable. We felt this more accurately described the command behavior.

There is no way to manually add a repository to the Drone database. All repositories are added when you sync your account with your source code management system (e.g. github).