devnote-dev / docr Goto Github PK
View Code? Open in Web Editor NEWA CLI tool for searching Crystal documentation
License: Mozilla Public License 2.0
A CLI tool for searching Crystal documentation
License: Mozilla Public License 2.0
It looks like ~/.config/docr
is being created with a permission of 0100
. I've tried changing it to 775 or something, but it just switches it back.
Ideally this project would have been written in Crystal, but the dependencies required for this are not yet available:
Check crystal-ameba/ameba#372
Implement support for fzf. I'm not entirely sure what this is for as I don't use it, so it won't really be high priority.
╰─ $ docr add crystal 1.9.2
(i) importing crystal version 1.9.2
(i) fetching available versions...
(!) crystal version 1.9.2 is not available
(!) run 'docr check' to see available versions of imported libraries
╰─ $ crystal version
Crystal 1.9.2 [1908c816f] (2023-07-19)
LLVM: 15.0.7
Default target: x86_64-pc-linux-gnu
Current Crystal version is 1.9.2, was compiled on my local with document.
In fact, docr check
command not available too.
Currently you can include the .
and #
symbols in type/symbol queries when searching or getting info. However, these are not scope-aware, meaning that using a query with .
will search for class methods/declarations and instance methods/declarations. For the sake of convention consistency, this should be re-evaluated to be scope-aware, so:
docr info String.to_s
should look for the class method;docr info String#to_s
should look for the instance method;docr info String to_s
should return the first available resultHaving some form of UI to indicate similar available methods would also be useful here.
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.