Skip to content

hook-lang/hook-cowsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook's Cowsay

This is a simple cowsay clone written in Hook to demonstrate how packages work.

Installation

Use the package manager hpkg to install Hook's Cowsay.

Run the following command to install this package as a dependency of your project:

hpkg install cowsay

Usage

Now you can use it in your Hook project:

import cowsay;

cowsay.say("Hello, world!");

The say function accepts a message and prints the cow saying it to the console. Like this:

-----------------
< Hello, world! >
-----------------
       \   ^__^
        \  (oo)\_______
           (__)\       )\/\
               ||----w |
               ||     ||

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published