Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Interactive setup #148

Open
peterkos opened this issue Oct 28, 2023 · 2 comments
Open

[FEATURE] Interactive setup #148

peterkos opened this issue Oct 28, 2023 · 2 comments

Comments

@peterkos
Copy link

peterkos commented Oct 28, 2023

Describe the solution you'd like
Would be neat to have a setup script like so:

> dotter setup
Welcome to dotter!
Do you have an existing dotfiles repo locally? (y/N) n
Let's create a new one!
Where should it live? (default: `~/.dotfiles`) ~/.dotfiles

Creating initial files...
Done!

(This would do the git init, .gitignore, touch config.toml global.toml)

Would also be cool for interactively setting up file locations. Maybe search for a list of known files, or an option to pass a list of locations?

Either way, something like ratatui could help provide the functionality.

Describe alternatives you've considered
n/a

Additional context
n/a

@peterkos
Copy link
Author

Edit: Oh! I checked the issues, but not PRs 😅 I see #112 adds an interactive config.

I also plan on creating a more feature rich TUI for the local config including changing variables, but I wanted to get some feedback first before making deeper changes.

I belive this accomplishes the same goal? @SIMULATAN does this issue sound like what you're building, or is yours more for configuring an already-existing folder?

@SuperCuber
Copy link
Owner

There's a kinda-similar dotter init command, but it expects to be run in an already existing repository full of dotfiles (that presumably you want to migrate from using some other method)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants