Skip to content

Project Scaffolding #1

@crazydi4mond

Description

@crazydi4mond

Project Scaffolding

Summary

Set up the basic Go project structure for dnstc with CLI framework and shared library integration.

Motivation: Foundation for all other features. Consistent project structure with other net2share Go tools.

Design

  • Go module: github.com/net2share/dnstc
  • CLI framework: cobra
  • Shared library: go-corelib for OS detection and TUI
  • Cross-platform support: Windows, macOS, Linux

Interactive Menu

Run without arguments for interactive menu:

dnstc

Menu options (placeholder):

  • Start tunnel
  • Stop tunnel
  • Status
  • Configuration
  • Exit

CLI Commands

dnstc start       # Start tunnel service
dnstc stop        # Stop tunnel service
dnstc status      # Show current status
dnstc config      # Show/edit configuration

Flags

Common flags across commands:

  • --config - Path to config file
  • --verbose - Enable verbose output
  • --help - Show help

Scope: This issue is about creating the project structure, menu, and command skeleton only. Commands and menus should display dummy/placeholder text. No actual functionality - that comes in later issues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions