Giter Site home page Giter Site logo

Comments (11)

abelsiqueira avatar abelsiqueira commented on September 26, 2024

Since the man pages are in $CUTEST/man/man3, this will be very easy to add to the script. I started to read the Docile and Lexicon documentation, so I'll implement this soon.

from cutest.jl.

dpo avatar dpo commented on September 26, 2024

Great! Thanks!

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

Converting the man page to plain text was a little more troublesome than anticipated, if you know of a better way, please let me know. f1950c8 shows what I managed to do.

from cutest.jl.

dpo avatar dpo commented on September 26, 2024

I thought it might be possible to set the contents of a docstring to the result of the command man cutest_usetup.

from cutest.jl.

dpo avatar dpo commented on September 26, 2024

For example at the Julia command line, I can hit ; and do

shell> man cutest_usetup

Could we get help(usetup) to perform the same operation?

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

I will check if that's possible, but we need to consider the documentation for the specialized interface too, because they share the name now.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

The best I could reach was

@doc :(run(`man ls`)) foo

But I can't run that. Do you think we should ask in julia-users?

from cutest.jl.

dpo avatar dpo commented on September 26, 2024

Maybe it's not possible. Perhaps the docstring could just recommend that the user run the shell command man cutest_$(function_name) to learn more.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

That's good

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

I implemented your suggestion along with a basic usage and parameter list in f82c0e5.
I will try to grab some info from the man file from python before PRing.

from cutest.jl.

abelsiqueira avatar abelsiqueira commented on September 26, 2024

Implemented by #36

from cutest.jl.

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.