View Code? Open in Web Editor
NEW
Prototype for a cli file browser
License: GNU General Public License v3.0
gomd's Introduction
๐ Hi, Iโm @as27 (Andreas Schroepfer). I am from Germany
๐ I wrote Go - Das Praxisbuch
๐ Iโm interested in rowing, hiking, golang, accounting ๐ค
๐ฑ Iโm currently learning some rust
๐๏ธ Iโm looking to collaborate on interesting projects, give talks about Go or make some workshops.
๐ซ How to reach me. Best way is twitter: @lyckade
gomd's People
gomd's Issues
write a simple method, which can copy a file for gocmd.Files
add that event to the app
All changes should be inside the file cmd/gomd/commands.go
The command should be:
mkdir new_folder
mkdir new folder
The new folder should be added at the left side.
The log area should be just shown, when gomd is started with the verbose mode.
Add flag -verbose
just show the log area, when verbose mode
ensure that logging without verbose mode does not block something
Any idea on implementing an exit command for gomd?
I really like this project btw.
add command sync
set the right side with the path of the left side
Implement a simple overview of all availiable commands. The simplest way to achieve this is to join the elements of implementedCommands
and make an output by using the func (a *app) Println(i ...interface{})
-method.
But there are other possibilities like modal or change the content of the windows. This is just a prototype and it is welcome to play around a little bit.
All PRs for a better documentaion are welcome.
Better documentation of the code or a better reamde.
I am not so fluent in writing good English, so every doc element is welcome.
The base of every command is the left side of the browser. With sw
or switch
left and right folder is switched.
The command should be
rm file
rm folder
remove file
remove folder
The selected element of the left side will be removed then.
This is the start for some simple configuration of the app.
show/hide hidden files
sort by name
hide files
hide directories
We could implement a configuration view, when entering this mode.