Giter Club home page Giter Club logo

dcli's People

Contributors

privaterookie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dcli's Issues

编译linux musl的静态的exe

工具挺好用的,但是有的平台报错,建议编译一个 musl的版本
dcli: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by dcli)

提升对超宽表格的显示

当表格过宽时输出显示会变形,
可以参考 mysql 添加 "\G" 命令修改输出样式, 或允许用户左右滑动查看

使用cargo安装包错

环境:macos bigsur
rustc: rustc 1.55.0 (c8dfcfe04 2021-09-06)
cargo: cargo 1.55.0 (32da73ab1 2021-08-23)
执行命令: cargo install --force dcli
报错:

error[E0599]: no method named `insert_and_get` found for struct `DOMAINS` in the current scope
   --> /Users/zhangxin/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/i18n-embed-fl-0.2.0/src/lib.rs:360:17
    |
136 | / lazy_static::lazy_static! {
137 | |     /// Cached data specific to each localization domain, to improve
138 | |     /// performance of subsequent macro invokations.
139 | |     static ref DOMAINS: dashmap::DashMap<String, DomainSpecificData> =
140 | |         dashmap::DashMap::new();
141 | | }
    | |_- method `insert_and_get` not found for this
...
360 |           DOMAINS.insert_and_get(domain.clone(), data)
    |                   ^^^^^^^^^^^^^^ method not found in `DOMAINS`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `i18n-embed-fl` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dcli v0.0.7`, intermediate artifacts can be found at `/var/folders/g3/38kh1ntx0rn4xkglzn5_l20h0000gn/T/cargo-installJ3vBc1`

请考虑与 x-cmd 协同来完成 dcli 的需求

朋友,我今天看到你的 项目简介。

如果你喜欢命令行,可以看看 我的项目: x-cmd.com
你可以理解 x-cmd 是一个 posix shell 的库 再加上一个 勿需sudo即可使用的 软件包 管理器。

x-cmd 里面已经集成了一些 不错的 db client: https://www.x-cmd.com/pkg/usql
其实还有很多,现在挑选有 接近400个 软件包,但还没来得及 录制 demo 和上网页。
不过我们还没在 mysql 体系发力找相关的 生态工具,所以还有所欠缺。如果你有推荐,欢迎 ~

如果你有一些 可以在 shell 层面的 改进需求,可以提出。x-cmd 可以在 上面 包一层 代码 变成 shell 模块方式来提供。
如果你想对 dcli 另作一个 强大的 client,发版后,可以告诉我们 放到 x-cmd/pkg 上,让用户可以 在多平台免安装使用。

现在 x-cmd 还没有公测,不过是足够稳定用于试用。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.