envsubst 0.1.0 copy "envsubst: ^0.1.0" to clipboard
envsubst: ^0.1.0 copied to clipboard

outdatedDart 1 only

Docker-style environment variables substitution for Dart

example/envsubst_example.dart

// Copyright (c) 2016, Kwang Yul Seo. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:envsubst/envsubst.dart';

main() {
  String input = r'Hello $HOME';
  String output = envSubst(input);
  print(output); // print 'Hello /Users/kseo'
}
0
likes
0
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

Docker-style environment variables substitution for Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

parsers

More

Packages that depend on envsubst