Code Monkey home page Code Monkey logo

Comments (5)

tiptop96 avatar tiptop96 commented on June 15, 2024 1

Awsome, are the claims_table, hosts_table and host_inventory_table functions in src/ctl.rs the ones you are talking about?

Thanks, I will check in when I have draft for the claims related work, make sure that I'm moving in the right direction 😄

from wash.

brooksmtownsend avatar brooksmtownsend commented on June 15, 2024 1

Those are the ones! And I think it would be good to have claims and keys have the same table type as ctl anyways, so it's good to model the style from that

from wash.

tiptop96 avatar tiptop96 commented on June 15, 2024

I took the liberty of looking at this and thought I would start with the claims related commands: sign, inspect and token. I found that for rendering the result of inspect I can render them as the classic table (aka OutputKind::Text) generated by render_actor_claims inside the REPL output window. However I am not sure if this is desired. Would a simple key: value output be better?

I guess the same question would apply to par inspect later down the road.

Let me know if there is anything else I should keep in mind. 😄

from wash.

brooksmtownsend avatar brooksmtownsend commented on June 15, 2024

I think ideally we'd like for as much useful information in as little space as possible for the REPL output window

I tried to manually format things for the get commands which ended up being too difficult and hacky. The solution I ended up doing was just customizing the term-table to be a simple table with unseparated rows (You should be able to see those examples in src/ctl.rs). Definitely open to a more efficient output format, but at the end of the day a pub key + OCI reference ends up being a long row 😄

Thanks for looking at this! Feel free to check in with progress

from wash.

brooksmtownsend avatar brooksmtownsend commented on June 15, 2024

Closed by #48 💯

from wash.

Related Issues (20)

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.