✨ Move CLI commands to cli/ package for extensibility
- Rename internal/cmd/ to cli/ - Export commands: RootCmd, DropCmd, ConfigCmd - Enable custom app creation by importing cli package
This commit is contained in:
parent
5c8e2fc607
commit
8c23375208
4 changed files with 22 additions and 41 deletions
|
|
@ -16,8 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
package main
|
||||
|
||||
import "codeberg.org/danjones000/my-log/internal/cmd"
|
||||
import "codeberg.org/danjones000/my-log/cli"
|
||||
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
cli.Execute()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue