Giter VIP home page Giter VIP logo

Comments (8)

gayaldassanayake avatar gayaldassanayake commented on September 22, 2024 1

👋 Welcome, @kritikash18 ! 🚀

We're thrilled to have you join the Ballerina Lang community! Whether you're a seasoned developer or just starting your journey with Ballerina, we value your contributions and look forward to collaborating with you.
To help you get started, here are some essential resources:

Understanding Ballerina Platform:
Learn what Ballerina is all about: Ballerina Platform
How to Contribute:
Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
Contributing to the Ballerina library:
If you're interested in contributing to our library, here are the guidelines: Library Contribution Guide
Learn Ballerina:
If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
Get Help and Connect:
Join our Discord community to chat with fellow Ballerina enthusiasts and get assistance: Ballerina Discord
Remember, no contribution is too small, and your feedback is invaluable. Feel free to ask questions, propose ideas, or report issues. Together, we can make Ballerina even better!
Happy coding! 🎉

from ballerina-update-tool.

gayaldassanayake avatar gayaldassanayake commented on September 22, 2024 1

For the openapi command to be included, you need the full distribution. Instead of openapi you can use run or test and reproduce the same with the pack you have right now.
eg :- bal --help run

from ballerina-update-tool.

kritikash18 avatar kritikash18 commented on September 22, 2024

Hi, Can I work on this?

from ballerina-update-tool.

kritikash18 avatar kritikash18 commented on September 22, 2024

Hi, I'm following these instructions to build and test my code: https://github.com/ballerina-platform/ballerina-distribution/blob/master/docs/build-ballerina-from-source.md#building-the-complete-ballerina-distribution
I'm only building the runtime though. However, when I run commands like
bal openapi --help
it gives me error unknown command openapi. Is that expected? since I'm only building the runtime? If yes, do I need to follow both build the distribution and the runtime to get the full set?

from ballerina-update-tool.

kritikash18 avatar kritikash18 commented on September 22, 2024

Hi guys, I've noticed an odd difference. I ran two versions of bal
First, installed through brew - it gives me the same error as above
Second, after uninstalling brew version, I built the runtime code from source using gradlew clean build - it doesn't give this error at all, I tried 4-5 commands at least and it seems to work fine?
@gayaldassanayake
attaching screenshots for both brew version and local version below:

BREW VERSION:

Screenshot 2023-10-15 at 9 55 21 AM

LOCAL VERSION:

Screenshot 2023-10-15 at 9 55 47 AM

from ballerina-update-tool.

gayaldassanayake avatar gayaldassanayake commented on September 22, 2024

Sorry about the late response. Yes, you are correct. However if you build the distribution (https://github.com/ballerina-platform/ballerina-distribution.git) and use ballerina-distribution/ballerina/build/distributions/ballerina-2201.8.0-SNAPSHOT-swan-lake/bin/bal to run bal --help doc, you will ge the unmatched argument error.

My hunch is that the issue lies in https://github.com/ballerina-platform/ballerina-update-tool

from ballerina-update-tool.

keizer619 avatar keizer619 commented on September 22, 2024

As @gayaldassanayake mentioned this is happening in the zip artifacts built at ballerina-distribution repository.
In that zip we have additional shell file which gets called initially.

from ballerina-update-tool.

keizer619 avatar keizer619 commented on September 22, 2024

@kritikash18 are you still working on this?

from ballerina-update-tool.

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.