洞察探索如何利用兼容微信生态的小程序容器,实现跨平台开发,助力金融和车联网行业的数字化转型。
616
2022-10-21
Skit - 命令行CLI的基本演示应用程序
Skit
a basic presentation app for the command line
→ next slide
← previous slide
Ctrl-C quit
Table Of Contents
Table Of ContetsFeaturesSyntax ContributingInspirationLicense
Features
Syntax
Each paragraph marks a slide.Text is just starts at the beginning of a line.If the first character is a / a control sequence is expected, except if another /, then it's just a / as text: # -> Slide title, required.@ -> Path to image, optional. A slide shows either an image or text._ -> Background color, between 0 and 255.^ -> Foreground color, between 0 and 255.! -> Comment, is parsed but ignored for now. The colors are ignored for images, since images are in ascii and need a black background.
See example.skt.
Images
This program supports the following file types:
.jpg.png
Installing and Contributing
Install with:
go get github.com/jpeinelt/skit
Contributions are always welcome
Inspiration
General Idea
zeichma - A dear colleague of mine came up with the idea to have a really simple presentation software. Thank you Karl!
Lexer and Parser
Lexing in Go - Rob Pike talk about lexing
Ini Parser - Simple parser, also inspired by Rob Pike's talk
UI
slack-term - Slack client for the CLI
License
Copyright © 2018 Julius Peinelt
This software is distributed under the terms of the Apache License Version 2.0 (Apache-2.0). For details see LICENSE.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~