Comments (2)
There are plans to implement a filesystem api in the stdlib, providing functionality such as:
if std.fs.exists('./filename') then
...
end
Nevertheless, test
is an exeternal program, and as such, can be invoked from Hush. I don't see it being very useful though.
from hush.
How do you check if something is true or not? And
from hush.
Related Issues (20)
- Filesystem queries HOT 6
- Publish vscode extension to open-vsx HOT 2
- Feature: Add print() function with no newline HOT 3
- Parse error when std.import'ed script contains executable statements HOT 3
- Feature: Add symbols for interpreter, program, and script HOT 3
- Feature: Add 'File' support that can cross the curly-block barrier HOT 1
- Feature: Add support for multi-way conditional(s) HOT 1
- Question: std.catch with parameters HOT 4
- Running script has no output unless run inside another program HOT 7
- Test using `capture.hsh` fails HOT 7
- Feature: Potential for bash transpilation? HOT 1
- External: Neovim syntax highlighting and static checks HOT 1
- Regex doesn't work due to UTF-8 HOT 2
- [Suggestion] Add global prelude HOT 5
- The command block commands require extra escape HOT 1
- Async not working HOT 2
- Feature Request: Include and import HOT 3
- Syntax sugar for function containing shell commands HOT 2
- Can't use `elseif` and `else if` with one `end` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hush.