charmbracelet / kancli Goto Github PK
View Code? Open in Web Editor NEWA tutorial for building a command line kanban board in Go
A tutorial for building a command line kanban board in Go
It would be great to see a help menu with the available commands like we see in the list bubble
If you hit enter on an empty list you get an error. What needs to happen to fix it is that we need to do a check for if the list is empty before trying to make modifications
I am refactoring the tutorial KanCLI project, placing the type definitions in a separate package. My goal is to refactor the Model
and Form
structs into separate packages. At the same time, there is a name clash between the Model
and Form
structs and a predefined Enum.
const (
Model Status = iota
Form
)
I then renamed the Enum values.
const (
ModelEnum Status = iota
FormEnum
)
But that broke the task addition feature.
Here is the repo before the enum modification.
Here is the repo after the enum modification.
Right now it's built using mock data. Would be great to persist data in some way... Maybe even integrate with our Charm library
hiiiii discord
Delete items from the board
Hey @bashbunni, I ran into the same problem as @Dentrax.
While I was following the kancli video tutorial. I wanted to change the "loading...." with something more glamorous™ I've made this repo, to resume my story I've copied the example of a simple spinner but when I run the CLI it does not tickle :(
Also, is there any particular reason it takes time to load the UI? Sometimes it is fast, as seen by the video; other times, it just keeps loading.
Ps: You guys are doing some awesome work! Saw the YouTube tutorial and the changelog podcast, I'm learning go just to write really good looking CLIs
(edit): just realized that ended recording before showing one time it was quick :/ but here is a screenshot of one time it ran in 3s
My neofetch if the issue for taking some time to load is related to my OS
Originally posted by @Grubba27 in charmbracelet/bubbletea#484 (reply in thread)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.